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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00169/0.00169, allocations: 114.7 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00193/0.00193, allocations: 186 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.835/2.835, allocations: 476.7 MB / 0.7629 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 67.89 kB / 1.107 GB, free: 5.066 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9982/1, allocations: 168.7 MB / 1.272 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.004185/1.005, allocations: 1.802 MB / 1.273 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001775/1.006, allocations: 1.132 MB / 1.274 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.628e-05/1.006, allocations: 1.094 kB / 1.274 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003511/1.007, allocations: 63.41 kB / 1.274 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002654/1.007, allocations: 79.66 kB / 1.275 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006904/1.008, allocations: 230 kB / 1.275 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002582/1.008, allocations: 151.2 kB / 1.275 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/1.008, allocations: 12.2 kB / 1.275 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/1.008, allocations: 64.44 kB / 1.275 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/1.008, allocations: 68.44 kB / 1.275 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/1.008, allocations: 6.562 kB / 1.275 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001979/1.009, allocations: 81.33 kB / 1.275 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.659e-05/1.009, allocations: 42.06 kB / 1.275 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.362e-05/1.009, allocations: 50.31 kB / 1.275 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000333/1.009, allocations: 206.9 kB / 1.275 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.009, allocations: 0.7188 kB / 1.275 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.162e-06/1.009, allocations: 0 / 1.275 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.275e-05/1.009, allocations: 0.7188 kB / 1.275 GB, free: 5.223 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006634/1.01, allocations: 494.5 kB / 1.276 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/1.01, allocations: 10.22 kB / 1.276 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.444e-05/1.01, allocations: 42.66 kB / 1.276 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.356e-05/1.01, allocations: 16.84 kB / 1.276 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/1.01, allocations: 256.8 kB / 1.276 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/1.01, allocations: 8.234 kB / 1.276 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/1.01, allocations: 6.938 kB / 1.276 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/1.01, allocations: 94.28 kB / 1.276 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/1.01, allocations: 0 / 1.276 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/1.01, allocations: 5.312 kB / 1.276 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/1.011, allocations: 2 kB / 1.276 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/1.011, allocations: 39.06 kB / 1.276 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004976/1.011, allocations: 354.5 kB / 1.277 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002343/1.011, allocations: 85.83 kB / 1.277 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.801e-05/1.011, allocations: 34.38 kB / 1.277 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/1.011, allocations: 1.875 kB / 1.277 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002018/1.012, allocations: 80.45 kB / 1.277 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/1.012, allocations: 0 / 1.277 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0004209/1.012, allocations: 137.7 kB / 1.277 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/1.012, allocations: 107.8 kB / 1.277 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003173/1.012, allocations: 266.2 kB / 1.277 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/1.012, allocations: 38.92 kB / 1.277 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.466e-05/1.013, allocations: 117.6 kB / 1.277 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/1.013, allocations: 20.66 kB / 1.278 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.121e-05/1.013, allocations: 28.39 kB / 1.278 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.989e-05/1.013, allocations: 326.2 kB / 1.278 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.819e-05/1.013, allocations: 25.2 kB / 1.278 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/1.013, allocations: 73.41 kB / 1.278 GB, free: 3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/1.013, allocations: 69.45 kB / 1.278 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.013, allocations: 0 / 1.278 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002419/1.013, allocations: 113.8 kB / 1.278 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/1.013, allocations: 5.031 kB / 1.278 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/1.013, allocations: 0.9688 kB / 1.278 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/1.013, allocations: 2.984 kB / 1.278 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/1.013, allocations: 23.19 kB / 1.278 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/1.013, allocations: 1.031 kB / 1.278 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.777e-05/1.014, allocations: 13.08 kB / 1.278 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/1.014, allocations: 2.5 kB / 1.278 GB, free: 2.879 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: 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.000133/1.014, allocations: 142.4 kB / 1.278 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/1.014, allocations: 15 kB / 1.278 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003109/1.014, allocations: 128.3 kB / 1.278 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/1.014, allocations: 5.719 kB / 1.278 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/1.014, allocations: 0 / 1.278 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/1.014, allocations: 6.547 kB / 1.278 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/1.014, allocations: 229.8 kB / 1.279 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.014, allocations: 0 / 1.279 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.321e-05/1.014, allocations: 7.109 kB / 1.279 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/1.014, allocations: 192 / 1.279 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/1.014, allocations: 2.672 kB / 1.279 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/1.014, allocations: 5.438 kB / 1.279 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.014, allocations: 1.188 kB / 1.279 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/1.015, allocations: 141.9 kB / 1.279 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.397e-05/1.015, allocations: 96.97 kB / 1.279 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/1.015, allocations: 5.531 kB / 1.279 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.182e-05/1.015, allocations: 6.094 kB / 1.279 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.202e-05/1.015, allocations: 17 kB / 1.279 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/1.015, allocations: 2.5 kB / 1.279 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001932/1.015, allocations: 191.7 kB / 1.279 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.015, allocations: 0.9688 kB / 1.279 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002741/1.015, allocations: 46.03 kB / 1.279 GB, free: 2.09 MB / 0.9981 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.001886/1.017, allocations: 0.9863 MB / 1.28 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002527/1.017, allocations: 67.81 kB / 1.28 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.017, allocations: 4.062 kB / 1.28 GB, free: 1.355 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.302e-05/1.017, allocations: 32.55 kB / 1.28 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/1.018, allocations: 41.2 kB / 1.28 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/1.02, allocations: 1.967 MB / 1.282 GB, free: 15.93 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/1.02, allocations: 0.7255 MB / 1.283 GB, free: 15.23 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.298e-05/1.021, allocations: 23.45 kB / 1.283 GB, free: 15.23 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.909e-05/1.021, allocations: 47.78 kB / 1.283 GB, free: 15.2 MB / 1.014 GB Notification: Performance of SimCode: time 6.91e-07/1.021, allocations: 0 / 1.283 GB, free: 15.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03119/1.052, allocations: 4.723 MB / 1.288 GB, free: 14.33 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.249/9.301, allocations: 9.797 kB / 1.288 GB, free: 14.33 MB / 1.014 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator_res.csv --start-time 0 --stop-time 2 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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: 15.569547087012324] Failed to read output from testmodel.py, exit status != 0: 9.429700881009921 9.452448864 8.438995661 Calling exit ...