Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001314/0.001314, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001406/0.001406, allocations: 213 kB / 23.78 MB, free: 4.523 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.473/1.473, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9616/0.9616, allocations: 150 MB / 463.9 MB, free: 10.18 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_IntegerReplicator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_IntegerReplicator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002272/0.002272, allocations: 67.3 kB / 0.642 GB, free: 9.859 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.19, allocations: 89.18 MB / 0.7291 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.004121/0.1941, allocations: 1.753 MB / 0.7308 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002285/0.1964, allocations: 1.185 MB / 0.7319 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.1965, allocations: 4 kB / 0.7319 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003937/0.1969, allocations: 63.67 kB / 0.732 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004399/0.1973, allocations: 115.5 kB / 0.7321 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006726/0.198, allocations: 195.5 kB / 0.7323 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002956/0.1983, allocations: 163.6 kB / 0.7324 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.1984, allocations: 9.641 kB / 0.7325 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.1986, allocations: 75.62 kB / 0.7325 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.1987, allocations: 75.67 kB / 0.7326 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.1987, allocations: 8 kB / 0.7326 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001953/0.1989, allocations: 79.95 kB / 0.7327 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.824e-05/0.199, allocations: 51.77 kB / 0.7327 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.166e-05/0.1991, allocations: 39.73 kB / 0.7328 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003459/0.1995, allocations: 207.5 kB / 0.733 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1995, allocations: 0 / 0.733 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1995, allocations: 0 / 0.733 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.1995, allocations: 0 / 0.733 GB, free: 12.73 MB / 0.5606 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.0008069/0.2003, allocations: 430.8 kB / 0.7334 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.2003, allocations: 12.03 kB / 0.7334 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.393e-05/0.2003, allocations: 8.125 kB / 0.7334 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.558e-05/0.2004, allocations: 34.75 kB / 0.7334 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.715e-05/0.2004, allocations: 20.8 kB / 0.7334 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003609/0.2008, allocations: 194.2 kB / 0.7336 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.2008, allocations: 8.125 kB / 0.7336 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.2008, allocations: 7.984 kB / 0.7336 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.2011, allocations: 147.6 kB / 0.7338 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.2011, allocations: 0 / 0.7338 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.2011, allocations: 8 kB / 0.7338 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.2011, allocations: 0 / 0.7338 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.2013, allocations: 31.98 kB / 0.7338 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005925/0.2019, allocations: 331.7 kB / 0.7341 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000257/0.2021, allocations: 86.66 kB / 0.7342 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.939e-05/0.2022, allocations: 28.84 kB / 0.7343 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.2022, allocations: 4 kB / 0.7343 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001975/0.2024, allocations: 87.34 kB / 0.7343 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/0.2024, allocations: 0 / 0.7343 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0003924/0.2028, allocations: 145.5 kB / 0.7345 GB, free: 11 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.333e-05/0.2029, allocations: 106.8 kB / 0.7346 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003051/0.2032, allocations: 287 kB / 0.7349 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.2032, allocations: 25.7 kB / 0.7349 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.372e-05/0.2033, allocations: 116.1 kB / 0.735 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.2033, allocations: 23.8 kB / 0.735 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-05/0.2034, allocations: 25.7 kB / 0.735 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.2035, allocations: 334.8 kB / 0.7354 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.641e-05/0.2036, allocations: 23.98 kB / 0.7354 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.2038, allocations: 153.3 kB / 0.7355 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.2039, allocations: 81.97 kB / 0.7356 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2039, allocations: 4 kB / 0.7356 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002451/0.2042, allocations: 113.5 kB / 0.7357 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.2042, allocations: 8 kB / 0.7357 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.2042, allocations: 0 / 0.7357 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.2042, allocations: 0 / 0.7357 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.437e-05/0.2043, allocations: 15.98 kB / 0.7357 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.2043, allocations: 3.938 kB / 0.7357 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.837e-05/0.2044, allocations: 4 kB / 0.7357 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.2044, allocations: 4 kB / 0.7357 GB, free: 9.594 MB / 0.5606 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.0001548/0.2045, allocations: 150.7 kB / 0.7359 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.2046, allocations: 19.86 kB / 0.7359 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003067/0.2049, allocations: 131 kB / 0.736 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.405e-06/0.2049, allocations: 3.938 kB / 0.736 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.2049, allocations: 3.938 kB / 0.736 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2049, allocations: 0 / 0.736 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.2051, allocations: 188.6 kB / 0.7362 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.2051, allocations: 0 / 0.7362 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.666e-05/0.2052, allocations: 8 kB / 0.7362 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.2052, allocations: 3.984 kB / 0.7362 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.2052, allocations: 11.94 kB / 0.7362 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.2052, allocations: 0 / 0.7362 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.2052, allocations: 3.938 kB / 0.7363 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.2055, allocations: 157.1 kB / 0.7364 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.418e-05/0.2055, allocations: 19.86 kB / 0.7364 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.2055, allocations: 4 kB / 0.7364 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.883e-05/0.2056, allocations: 3.984 kB / 0.7364 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.085e-05/0.2057, allocations: 15.92 kB / 0.7364 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.2057, allocations: 4 kB / 0.7364 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002049/0.2059, allocations: 212.5 kB / 0.7366 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2059, allocations: 4 kB / 0.7367 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002697/0.2062, allocations: 35.94 kB / 0.7367 GB, free: 8.559 MB / 0.5606 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.002163/0.2083, allocations: 1.03 MB / 0.7377 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002402/0.2086, allocations: 75.88 kB / 0.7378 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2086, allocations: 0 / 0.7378 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.2087, allocations: 31.98 kB / 0.7378 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.209, allocations: 53.69 kB / 0.7378 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002626/0.2116, allocations: 1.996 MB / 0.7398 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.2117, allocations: 110.6 kB / 0.7399 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.814e-05/0.2118, allocations: 25.38 kB / 0.7399 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.693e-05/0.2119, allocations: 55.42 kB / 0.74 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of SimCode: time 5.41e-07/0.2119, allocations: 0 / 0.74 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02637/0.2383, allocations: 5.22 MB / 0.7451 GB, free: 160 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/11.92, allocations: 20.03 kB / 0.7451 GB, free: 148 kB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_IntegerReplicator_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_IntegerReplicator.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.813177250907756] Failed to read output from testmodel.py, exit status != 0: 12.141689436044544 12.17111806 11.966205932 Calling exit ...