Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001896/0.001896, allocations: 116.8 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002388/0.002388, allocations: 209.5 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.564/1.564, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.884/2.884, allocations: 476.7 MB / 0.7678 GB, free: 9.355 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 79.88 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9528/0.9548, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001899/0.9567, allocations: 0.6864 MB / 1.28 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.9578, allocations: 0.864 MB / 1.28 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.653e-05/0.9579, allocations: 1.094 kB / 1.28 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 9.194e-05/0.9579, allocations: 6.844 kB / 1.28 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.787e-05/0.958, allocations: 11.47 kB / 1.28 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001063/0.9581, allocations: 20.59 kB / 1.28 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.9583, allocations: 76.11 kB / 1.281 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.9584, allocations: 26.55 kB / 1.281 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.095e-05/0.9585, allocations: 33.62 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.861e-05/0.9586, allocations: 48.67 kB / 1.281 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.9586, allocations: 4.969 kB / 1.281 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.468e-05/0.9586, allocations: 5.031 kB / 1.281 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.969e-05/0.9587, allocations: 28.95 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.246e-05/0.9587, allocations: 31.61 kB / 1.281 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.9589, allocations: 95.83 kB / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.9589, allocations: 1.188 kB / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9589, allocations: 0 / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.9589, allocations: 3.938 kB / 1.281 GB, free: 10.49 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007036/0.9596, allocations: 398.6 kB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.9596, allocations: 9.844 kB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.894e-05/0.9596, allocations: 10.08 kB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.315e-05/0.9597, allocations: 39.05 kB / 1.281 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.9597, allocations: 13.05 kB / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.9599, allocations: 187.5 kB / 1.281 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.96, allocations: 8.656 kB / 1.281 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.96, allocations: 7.688 kB / 1.281 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004133/0.9604, allocations: 164.6 kB / 1.282 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.9604, allocations: 0 / 1.282 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.9604, allocations: 5.125 kB / 1.282 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.9604, allocations: 6.766 kB / 1.282 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005165/0.961, allocations: 150.8 kB / 1.282 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007101/0.9617, allocations: 447.8 kB / 1.282 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003729/0.962, allocations: 118 kB / 1.282 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002666/0.9623, allocations: 74.41 kB / 1.282 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.9623, allocations: 6.297 kB / 1.282 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.9624, allocations: 30.56 kB / 1.282 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.9624, allocations: 1.25 kB / 1.282 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0008186/0.9632, allocations: 226.7 kB / 1.283 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/0.9632, allocations: 83.08 kB / 1.283 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.9634, allocations: 137.1 kB / 1.283 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.9634, allocations: 27.08 kB / 1.283 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.268e-05/0.9635, allocations: 93.58 kB / 1.283 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.9635, allocations: 11 kB / 1.283 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.445e-05/0.9635, allocations: 22.58 kB / 1.283 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.9637, allocations: 323.4 kB / 1.283 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.9639, allocations: 62.42 kB / 1.283 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/0.9641, allocations: 75.19 kB / 1.283 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004122/0.9645, allocations: 129.9 kB / 1.284 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.9645, allocations: 1.406 kB / 1.284 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0005117/0.9651, allocations: 164.2 kB / 1.284 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.9651, allocations: 5.781 kB / 1.284 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.9651, allocations: 4 kB / 1.284 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.9651, allocations: 1.406 kB / 1.284 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.9653, allocations: 31.14 kB / 1.284 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.9653, allocations: 0 / 1.284 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.9654, allocations: 17.14 kB / 1.284 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.9654, allocations: 2.094 kB / 1.284 GB, free: 8.324 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001225/0.9655, allocations: 134 kB / 1.284 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.902e-05/0.9656, allocations: 11.22 kB / 1.284 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.541e-05/0.9656, allocations: 13.58 kB / 1.284 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.9656, allocations: 5.281 kB / 1.284 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.9656, allocations: 5.406 kB / 1.284 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.9656, allocations: 0.7969 kB / 1.284 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002961/0.9659, allocations: 192.5 kB / 1.284 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.9659, allocations: 1.156 kB / 1.284 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.9661, allocations: 22.64 kB / 1.284 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.9661, allocations: 0.7969 kB / 1.284 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.9661, allocations: 5.312 kB / 1.284 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.593e-06/0.9661, allocations: 5.625 kB / 1.284 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.9661, allocations: 1.125 kB / 1.284 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005803/0.9667, allocations: 335.1 kB / 1.284 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.964e-05/0.9667, allocations: 83.98 kB / 1.285 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.9667, allocations: 1.469 kB / 1.285 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.9669, allocations: 19.52 kB / 1.285 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.967, allocations: 26.19 kB / 1.285 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.967, allocations: 2.516 kB / 1.285 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.794e-05/0.9671, allocations: 94.48 kB / 1.285 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.9671, allocations: 0 / 1.285 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000291/0.9674, allocations: 19.14 kB / 1.285 GB, free: 7.535 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009494/0.9683, allocations: 0.8662 MB / 1.286 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005305/0.9689, allocations: 141.2 kB / 1.286 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.9689, allocations: 0 / 1.286 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002622/0.9691, allocations: 91.36 kB / 1.286 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.9695, allocations: 14.89 kB / 1.286 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002531/0.972, allocations: 1.687 MB / 1.287 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.9723, allocations: 0.6987 MB / 1.288 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.746e-05/0.9724, allocations: 22.08 kB / 1.288 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.343e-05/0.9725, allocations: 27.77 kB / 1.288 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/0.9725, allocations: 0 / 1.288 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02193/0.9944, allocations: 2.471 MB / 1.291 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.689/9.684, allocations: 11.17 kB / 1.291 GB, free: 4.23 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.057911003008485] Failed to read output from testmodel.py, exit status != 0: 9.811192755994853 9.837541526 8.87372815 Calling exit ...