Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.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.001306/0.001306, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001543/0.001543, allocations: 220.2 kB / 23.04 MB, free: 5.074 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.816/2.816, allocations: 476.7 MB / 0.7714 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 177] 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.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_IntegerReplicator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_IntegerReplicator",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.002096/0.002096, allocations: 64.12 kB / 1.118 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3367, allocations: 169.9 MB / 1.284 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003751/0.3404, allocations: 1.829 MB / 1.286 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002546/0.343, allocations: 1.286 MB / 1.287 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001622/0.3431, allocations: 4 kB / 1.287 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004523/0.3436, allocations: 63.67 kB / 1.287 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005883/0.3442, allocations: 115.5 kB / 1.287 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007424/0.3449, allocations: 191.5 kB / 1.288 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000292/0.3452, allocations: 163.6 kB / 1.288 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.3453, allocations: 13.64 kB / 1.288 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.3455, allocations: 79.62 kB / 1.288 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.3456, allocations: 63.75 kB / 1.288 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.3456, allocations: 8 kB / 1.288 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001956/0.3458, allocations: 87.86 kB / 1.288 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.403e-05/0.3459, allocations: 43.84 kB / 1.288 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.011e-05/0.346, allocations: 63.59 kB / 1.288 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003354/0.3463, allocations: 202.8 kB / 1.288 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.3463, allocations: 0 / 1.288 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3463, allocations: 0 / 1.288 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.503e-06/0.3463, allocations: 8 kB / 1.288 GB, free: 7.547 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007577/0.3471, allocations: 430.8 kB / 1.289 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.3471, allocations: 8.031 kB / 1.289 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.558e-05/0.3471, allocations: 192 / 1.289 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.599e-05/0.3472, allocations: 42.73 kB / 1.289 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.476e-05/0.3472, allocations: 16.84 kB / 1.289 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003923/0.3476, allocations: 202.1 kB / 1.289 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.3476, allocations: 4.125 kB / 1.289 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.3477, allocations: 12 kB / 1.289 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.3479, allocations: 96.11 kB / 1.289 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.3479, allocations: 0 / 1.289 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.3479, allocations: 0 / 1.289 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/0.348, allocations: 4 kB / 1.289 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.3481, allocations: 39.91 kB / 1.289 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006121/0.3487, allocations: 339.7 kB / 1.289 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.3489, allocations: 82.66 kB / 1.289 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.13e-05/0.349, allocations: 32.88 kB / 1.289 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.349, allocations: 0 / 1.289 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002115/0.3493, allocations: 79.38 kB / 1.29 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.3493, allocations: 0 / 1.29 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0004061/0.3497, allocations: 141.5 kB / 1.29 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.124e-05/0.3497, allocations: 102.8 kB / 1.29 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003015/0.35, allocations: 283 kB / 1.29 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.3501, allocations: 25.7 kB / 1.29 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.3502, allocations: 128 kB / 1.29 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.3502, allocations: 15.91 kB / 1.29 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.468e-05/0.3502, allocations: 37.7 kB / 1.29 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3504, allocations: 322.8 kB / 1.291 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.601e-05/0.3505, allocations: 23.98 kB / 1.291 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.3506, allocations: 72.27 kB / 1.291 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.3508, allocations: 65.64 kB / 1.291 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3508, allocations: 8 kB / 1.291 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002305/0.351, allocations: 117.8 kB / 1.291 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.351, allocations: 8 kB / 1.291 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.351, allocations: 0 / 1.291 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.351, allocations: 0 / 1.291 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.3511, allocations: 15.94 kB / 1.291 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.3511, allocations: 4.016 kB / 1.291 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.444e-05/0.3512, allocations: 19.91 kB / 1.291 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.3512, allocations: 7.984 kB / 1.291 GB, free: 4.57 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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.0001405/0.3514, allocations: 137.9 kB / 1.291 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.314e-05/0.3514, allocations: 15.91 kB / 1.291 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002879/0.3517, allocations: 135.1 kB / 1.291 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/0.3517, allocations: 0 / 1.291 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.3517, allocations: 7.875 kB / 1.291 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3517, allocations: 0 / 1.291 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.3519, allocations: 196.7 kB / 1.291 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3519, allocations: 0 / 1.291 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.254e-05/0.352, allocations: 11.98 kB / 1.291 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.352, allocations: 0 / 1.291 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.352, allocations: 4 kB / 1.291 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.352, allocations: 0 / 1.291 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.352, allocations: 3.938 kB / 1.291 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.3522, allocations: 137 kB / 1.292 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.163e-05/0.3523, allocations: 11.91 kB / 1.292 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.3523, allocations: 8 kB / 1.292 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.63e-05/0.3524, allocations: 7.984 kB / 1.292 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.864e-05/0.3524, allocations: 15.92 kB / 1.292 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.3524, allocations: 11.88 kB / 1.292 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001931/0.3526, allocations: 192.7 kB / 1.292 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3526, allocations: 4 kB / 1.292 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002692/0.3529, allocations: 35.92 kB / 1.292 GB, free: 3.574 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002184/0.3551, allocations: 1.002 MB / 1.293 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000281/0.3554, allocations: 63.91 kB / 1.293 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3554, allocations: 0 / 1.293 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.3555, allocations: 31.98 kB / 1.293 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.3558, allocations: 50.53 kB / 1.293 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002663/0.3585, allocations: 1.987 MB / 1.295 GB, free: 496 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.3589, allocations: 0.728 MB / 1.296 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.192e-05/0.3589, allocations: 25.08 kB / 1.296 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.3591, allocations: 47.41 kB / 1.296 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of SimCode: time 1.072e-06/0.3591, allocations: 4 kB / 1.296 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02596/0.385, allocations: 5.004 MB / 1.301 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.94, allocations: 7.25 kB / 1.301 GB, free: 10.74 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_IntegerReplicator_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_IntegerReplicator.fmu > Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.833045570005197] Failed to read output from testmodel.py, exit status != 0: 12.713398417981807 12.188056229 11.837269751 Calling exit ...