Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.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.001286/0.001286, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.00141/0.00141, allocations: 216.5 kB / 23.78 MB, free: 4.555 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.526/1.526, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.98/0.98, allocations: 150 MB / 463.9 MB, free: 10.28 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.BooleanReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BooleanReplicator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BooleanReplicator",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.00201/0.00201, allocations: 66.41 kB / 0.642 GB, free: 9.977 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1928, allocations: 89.17 MB / 0.729 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.003834/0.1966, allocations: 1.777 MB / 0.7308 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002492/0.1991, allocations: 1.113 MB / 0.7319 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.1993, allocations: 0 / 0.7319 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008256/0.2001, allocations: 183.4 kB / 0.732 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005269/0.2006, allocations: 155.4 kB / 0.7322 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004586/0.2011, allocations: 146.6 kB / 0.7323 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002935/0.2014, allocations: 179.5 kB / 0.7325 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.2015, allocations: 9.312 kB / 0.7325 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.2016, allocations: 79.69 kB / 0.7326 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.2018, allocations: 79.67 kB / 0.7327 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.2018, allocations: 8 kB / 0.7327 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001653/0.202, allocations: 63.95 kB / 0.7327 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.028e-05/0.202, allocations: 47.83 kB / 0.7328 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.405e-05/0.2021, allocations: 47.73 kB / 0.7328 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003338/0.2025, allocations: 219.3 kB / 0.733 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2025, allocations: 0 / 0.733 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2025, allocations: 0 / 0.733 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.2025, allocations: 0 / 0.733 GB, free: 12.78 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007907/0.2033, allocations: 429.4 kB / 0.7334 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.2033, allocations: 12.03 kB / 0.7334 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.84e-05/0.2033, allocations: 192 / 0.7334 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.818e-05/0.2034, allocations: 46.67 kB / 0.7335 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.324e-05/0.2034, allocations: 20.8 kB / 0.7335 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/0.2037, allocations: 194.1 kB / 0.7337 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.2037, allocations: 12.12 kB / 0.7337 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.2037, allocations: 8 kB / 0.7337 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.204, allocations: 117 kB / 0.7338 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.204, allocations: 0 / 0.7338 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.204, allocations: 7.938 kB / 0.7338 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.204, allocations: 4 kB / 0.7338 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.2041, allocations: 31.98 kB / 0.7339 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005559/0.2047, allocations: 311.9 kB / 0.7342 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/0.2049, allocations: 74.61 kB / 0.7342 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.67e-05/0.205, allocations: 36.84 kB / 0.7343 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.205, allocations: 0 / 0.7343 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001853/0.2052, allocations: 87.36 kB / 0.7344 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.2052, allocations: 0 / 0.7344 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0004001/0.2056, allocations: 149.5 kB / 0.7345 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.548e-05/0.2056, allocations: 77.11 kB / 0.7346 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003299/0.206, allocations: 279.1 kB / 0.7348 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.206, allocations: 29.7 kB / 0.7349 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.2061, allocations: 124.1 kB / 0.735 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/0.2061, allocations: 27.78 kB / 0.735 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-05/0.2062, allocations: 25.72 kB / 0.735 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.2063, allocations: 334.8 kB / 0.7354 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.054e-05/0.2064, allocations: 27.92 kB / 0.7354 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.2065, allocations: 117.6 kB / 0.7355 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.2067, allocations: 78 kB / 0.7356 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2067, allocations: 0 / 0.7356 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000234/0.207, allocations: 121.5 kB / 0.7357 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.207, allocations: 13.78 kB / 0.7357 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.207, allocations: 0 / 0.7357 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.207, allocations: 0 / 0.7357 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.901e-05/0.2071, allocations: 11.94 kB / 0.7357 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.2071, allocations: 7.938 kB / 0.7357 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.403e-05/0.2072, allocations: 11.94 kB / 0.7357 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.2072, allocations: 4 kB / 0.7357 GB, free: 9.758 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: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.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.00014/0.2073, allocations: 141.8 kB / 0.7359 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/0.2073, allocations: 19.91 kB / 0.7359 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002703/0.2076, allocations: 131 kB / 0.736 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.2076, allocations: 4 kB / 0.736 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.2076, allocations: 3.938 kB / 0.736 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2076, allocations: 0 / 0.736 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.2078, allocations: 192.6 kB / 0.7362 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2078, allocations: 4 kB / 0.7362 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.016e-05/0.2079, allocations: 8 kB / 0.7362 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.2079, allocations: 4 kB / 0.7362 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.2079, allocations: 3.984 kB / 0.7362 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2079, allocations: 0 / 0.7362 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.2079, allocations: 7.938 kB / 0.7362 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.2082, allocations: 149 kB / 0.7364 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.632e-05/0.2082, allocations: 27.81 kB / 0.7364 GB, free: 9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.2082, allocations: 4 kB / 0.7364 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.214e-05/0.2083, allocations: 4 kB / 0.7364 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.2083, allocations: 7.922 kB / 0.7364 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.2083, allocations: 4 kB / 0.7364 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002295/0.2086, allocations: 208.5 kB / 0.7366 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2086, allocations: 0 / 0.7366 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000262/0.2088, allocations: 31.94 kB / 0.7366 GB, free: 8.746 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: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.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.002254/0.2111, allocations: 1.037 MB / 0.7377 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002526/0.2113, allocations: 71.91 kB / 0.7377 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2113, allocations: 4 kB / 0.7377 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.682e-05/0.2114, allocations: 39.86 kB / 0.7378 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.2118, allocations: 42.67 kB / 0.7378 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002856/0.2146, allocations: 2.01 MB / 0.7398 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001586/0.2148, allocations: 114.6 kB / 0.7399 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.662e-05/0.2149, allocations: 21.41 kB / 0.7399 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.215, allocations: 51.41 kB / 0.7399 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of SimCode: time 6.92e-07/0.215, allocations: 4 kB / 0.74 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02905/0.244, allocations: 5.005 MB / 0.7448 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.76, allocations: 10 kB / 0.7448 GB, free: 0.5469 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_BooleanReplicator.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.79128682706505] Failed to read output from testmodel.py, exit status != 0: 11.988687605015002 12.016370853 11.809065267 Calling exit ...