Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.00109/0.00109, allocations: 108.3 kB / 19.72 MB, free: 420 kB / 13.93 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.001341/0.001341, allocations: 221.6 kB / 23.02 MB, free: 2.957 MB / 13.93 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.015/1.015, allocations: 230.6 MB / 256.8 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.022/2.022, allocations: 0.5045 GB / 0.8104 GB, free: 2.613 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 67.89 kB / 1.177 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7403/0.7414, allocations: 180 MB / 1.352 GB, free: 1.629 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.00249/0.7439, allocations: 1.769 MB / 1.354 GB, free: 15.86 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.001315/0.7452, allocations: 1.185 MB / 1.355 GB, free: 14.66 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.987e-05/0.7453, allocations: 4 kB / 1.355 GB, free: 14.66 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002841/0.7456, allocations: 59.67 kB / 1.355 GB, free: 14.6 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002812/0.7459, allocations: 123.5 kB / 1.356 GB, free: 14.48 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003729/0.7463, allocations: 190.7 kB / 1.356 GB, free: 14.3 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.7464, allocations: 159.6 kB / 1.356 GB, free: 14.14 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.7465, allocations: 17.62 kB / 1.356 GB, free: 14.12 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.937e-05/0.7466, allocations: 75.62 kB / 1.356 GB, free: 14.05 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.41e-05/0.7467, allocations: 71.73 kB / 1.356 GB, free: 13.98 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.7467, allocations: 8 kB / 1.356 GB, free: 13.97 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.7469, allocations: 83.88 kB / 1.356 GB, free: 13.89 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 6.825e-05/0.7469, allocations: 39.78 kB / 1.356 GB, free: 13.85 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 5.422e-05/0.747, allocations: 51.66 kB / 1.356 GB, free: 13.8 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.7472, allocations: 209.4 kB / 1.356 GB, free: 13.59 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.7472, allocations: 4 kB / 1.356 GB, free: 13.59 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7472, allocations: 0 / 1.356 GB, free: 13.59 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.361e-06/0.7472, allocations: 0 / 1.356 GB, free: 13.59 MB / 1.042 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.000522/0.7478, allocations: 430.9 kB / 1.357 GB, free: 13.13 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.7478, allocations: 12.91 kB / 1.357 GB, free: 13.12 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.959e-05/0.7478, allocations: 38.75 kB / 1.357 GB, free: 13.07 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.66e-05/0.7479, allocations: 12.84 kB / 1.357 GB, free: 13.06 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.7481, allocations: 198.2 kB / 1.357 GB, free: 12.84 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.7481, allocations: 4.375 kB / 1.357 GB, free: 12.84 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.7482, allocations: 7.938 kB / 1.357 GB, free: 12.83 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.7483, allocations: 113 kB / 1.357 GB, free: 12.7 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.7483, allocations: 0 / 1.357 GB, free: 12.7 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.7483, allocations: 4 kB / 1.357 GB, free: 12.7 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.7484, allocations: 8 kB / 1.357 GB, free: 12.69 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.926e-05/0.7484, allocations: 35.91 kB / 1.357 GB, free: 12.66 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.7488, allocations: 331.7 kB / 1.358 GB, free: 12.29 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.749, allocations: 82.66 kB / 1.358 GB, free: 12.2 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.26e-05/0.749, allocations: 32.84 kB / 1.358 GB, free: 12.16 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.749, allocations: 0 / 1.358 GB, free: 12.16 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001475/0.7492, allocations: 91.39 kB / 1.358 GB, free: 12.06 MB / 1.042 GB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.7492, allocations: 0 / 1.358 GB, free: 12.06 MB / 1.042 GB Notification: Performance of matching and sorting (n=8): time 0.0002457/0.7494, allocations: 145.5 kB / 1.358 GB, free: 11.91 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.7495, allocations: 81.09 kB / 1.358 GB, free: 11.82 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.7496, allocations: 279 kB / 1.358 GB, free: 11.53 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.7497, allocations: 25.7 kB / 1.358 GB, free: 11.5 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 6.507e-05/0.7497, allocations: 124.1 kB / 1.358 GB, free: 11.38 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.7497, allocations: 19.89 kB / 1.358 GB, free: 11.36 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.7498, allocations: 29.7 kB / 1.358 GB, free: 11.32 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.934e-05/0.7499, allocations: 326.8 kB / 1.359 GB, free: 10.99 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.77e-05/0.7499, allocations: 27.98 kB / 1.359 GB, free: 10.96 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.583e-05/0.75, allocations: 122.7 kB / 1.359 GB, free: 10.82 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.48e-05/0.7501, allocations: 69.73 kB / 1.359 GB, free: 10.75 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.7501, allocations: 0 / 1.359 GB, free: 10.75 MB / 1.042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001276/0.7502, allocations: 117.5 kB / 1.359 GB, free: 10.62 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.7502, allocations: 8 kB / 1.359 GB, free: 10.62 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.7502, allocations: 0 / 1.359 GB, free: 10.62 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.7502, allocations: 0 / 1.359 GB, free: 10.62 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.895e-05/0.7503, allocations: 19.98 kB / 1.359 GB, free: 10.6 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.7503, allocations: 0 / 1.359 GB, free: 10.6 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.949e-05/0.7503, allocations: 15.83 kB / 1.359 GB, free: 10.58 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-06/0.7504, allocations: 8.031 kB / 1.359 GB, free: 10.57 MB / 1.042 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 9.527e-05/0.7504, allocations: 146.3 kB / 1.359 GB, free: 10.42 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.616e-05/0.7505, allocations: 15.91 kB / 1.359 GB, free: 10.41 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001996/0.7507, allocations: 131 kB / 1.359 GB, free: 10.27 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.7507, allocations: 4 kB / 1.359 GB, free: 10.27 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.7507, allocations: 3.938 kB / 1.359 GB, free: 10.26 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.7507, allocations: 7.875 kB / 1.359 GB, free: 10.25 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.7508, allocations: 192.6 kB / 1.36 GB, free: 10.02 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.7508, allocations: 0 / 1.36 GB, free: 10.02 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.869e-05/0.7508, allocations: 12 kB / 1.36 GB, free: 10.01 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.7508, allocations: 0 / 1.36 GB, free: 10.01 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.7509, allocations: 0 / 1.36 GB, free: 10.01 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.7509, allocations: 0 / 1.36 GB, free: 10.01 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.7509, allocations: 0 / 1.36 GB, free: 10.01 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.751, allocations: 156.9 kB / 1.36 GB, free: 9.84 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.173e-05/0.751, allocations: 24.02 kB / 1.36 GB, free: 9.816 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.7511, allocations: 4 kB / 1.36 GB, free: 9.812 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.497e-05/0.7511, allocations: 7.938 kB / 1.36 GB, free: 9.805 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/0.7511, allocations: 15.92 kB / 1.36 GB, free: 9.789 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.7511, allocations: 11.98 kB / 1.36 GB, free: 9.777 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0001173/0.7513, allocations: 196.7 kB / 1.36 GB, free: 9.586 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.7513, allocations: 0 / 1.36 GB, free: 9.586 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001768/0.7514, allocations: 31.98 kB / 1.36 GB, free: 9.555 MB / 1.042 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 (8): * Single equations (assignments): 5 * 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.001044/0.7525, allocations: 1.039 MB / 1.361 GB, free: 8.676 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001709/0.7526, allocations: 67.91 kB / 1.361 GB, free: 8.609 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.7526, allocations: 4 kB / 1.361 GB, free: 8.605 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 5.276e-05/0.7527, allocations: 44.03 kB / 1.361 GB, free: 8.562 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.7529, allocations: 38.06 kB / 1.361 GB, free: 8.531 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.7544, allocations: 1.998 MB / 1.363 GB, free: 6.441 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.258e-05/0.7545, allocations: 114.5 kB / 1.363 GB, free: 6.309 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 5.871e-05/0.7546, allocations: 25.42 kB / 1.363 GB, free: 6.285 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.124e-05/0.7546, allocations: 55.41 kB / 1.363 GB, free: 6.23 MB / 1.042 GB Notification: Performance of SimCode: time 6.71e-07/0.7546, allocations: 0 / 1.363 GB, free: 6.23 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08458/0.8392, allocations: 5.488 MB / 1.369 GB, free: 0.8203 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.043/7.882, allocations: 2.188 kB / 1.369 GB, free: 0.8203 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Examples_IntegerReplicator_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Math_Examples_IntegerReplicator.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator_fmpy_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ../Buildings_13_Buildings_Utilities_Math_Examples_IntegerReplicator.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.944714144803584]