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.001285/0.001285, allocations: 118.8 kB / 17.84 MB, free: 5.234 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.001355/0.001355, allocations: 202.3 kB / 20.79 MB, free: 2.297 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.53/1.53, allocations: 230.6 MB / 254.2 MB, free: 15.1 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.9903/0.9903, allocations: 150 MB / 460.2 MB, free: 5.273 MB / 350.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.001954/0.001954, allocations: 68.78 kB / 0.6368 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2024, allocations: 89.14 MB / 0.7238 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.004215/0.2066, allocations: 1.814 MB / 0.7256 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002461/0.209, allocations: 1.19 MB / 0.7268 GB, free: 1 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001724/0.2092, allocations: 0 / 0.7268 GB, free: 1 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000796/0.21, allocations: 163.5 kB / 0.7269 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0005258/0.2105, allocations: 159.4 kB / 0.7271 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005028/0.211, allocations: 134.1 kB / 0.7272 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003585/0.2114, allocations: 175.6 kB / 0.7274 GB, free: 392 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.2115, allocations: 13.11 kB / 0.7274 GB, free: 380 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.2117, allocations: 79.62 kB / 0.7275 GB, free: 300 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.2119, allocations: 75.73 kB / 0.7275 GB, free: 224 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.078e-05/0.2119, allocations: 8 kB / 0.7275 GB, free: 216 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001989/0.2121, allocations: 71.94 kB / 0.7276 GB, free: 144 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.071e-05/0.2122, allocations: 47.78 kB / 0.7277 GB, free: 96 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.832e-05/0.2123, allocations: 59.61 kB / 0.7277 GB, free: 36 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004204/0.2127, allocations: 211.3 kB / 0.7279 GB, free: 15.83 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2127, allocations: 0 / 0.7279 GB, free: 15.83 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.923e-06/0.2127, allocations: 0 / 0.7279 GB, free: 15.83 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.529e-05/0.2127, allocations: 0 / 0.7279 GB, free: 15.83 MB / 0.545 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.0009618/0.2137, allocations: 0.5018 MB / 0.7284 GB, free: 15.27 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.2137, allocations: 12.03 kB / 0.7284 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.767e-05/0.2137, allocations: 4.188 kB / 0.7284 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.111e-05/0.2138, allocations: 30.75 kB / 0.7285 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.799e-05/0.2139, allocations: 20.8 kB / 0.7285 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000388/0.2142, allocations: 256 kB / 0.7287 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.2143, allocations: 8.125 kB / 0.7287 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.2143, allocations: 7.938 kB / 0.7287 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.2145, allocations: 95.03 kB / 0.7288 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.2145, allocations: 0 / 0.7288 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.2146, allocations: 4 kB / 0.7288 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.397e-05/0.2146, allocations: 4 kB / 0.7288 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.2147, allocations: 31.98 kB / 0.7289 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007796/0.2155, allocations: 356.7 kB / 0.7292 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/0.2158, allocations: 66.67 kB / 0.7293 GB, free: 14.28 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.945e-05/0.2159, allocations: 40.78 kB / 0.7293 GB, free: 14.24 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.631e-05/0.2159, allocations: 0 / 0.7293 GB, free: 14.24 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002246/0.2161, allocations: 87.31 kB / 0.7294 GB, free: 14.14 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.703e-06/0.2161, allocations: 0 / 0.7294 GB, free: 14.14 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0004704/0.2166, allocations: 145.5 kB / 0.7295 GB, free: 13.99 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.561e-05/0.2167, allocations: 85.11 kB / 0.7296 GB, free: 13.89 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004001/0.2171, allocations: 275.1 kB / 0.7299 GB, free: 13.61 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.2171, allocations: 25.7 kB / 0.7299 GB, free: 13.58 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.2172, allocations: 124.1 kB / 0.73 GB, free: 13.45 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.359e-05/0.2172, allocations: 27.78 kB / 0.73 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.817e-05/0.2173, allocations: 29.7 kB / 0.7301 GB, free: 13.39 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0003125/0.2176, allocations: 326.8 kB / 0.7304 GB, free: 13.06 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.168e-05/0.2177, allocations: 27.98 kB / 0.7304 GB, free: 13.04 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.2178, allocations: 59.41 kB / 0.7305 GB, free: 12.96 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.218, allocations: 73.64 kB / 0.7305 GB, free: 12.89 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.218, allocations: 0 / 0.7305 GB, free: 12.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002627/0.2182, allocations: 121.9 kB / 0.7307 GB, free: 12.76 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.2183, allocations: 4 kB / 0.7307 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.2183, allocations: 3.938 kB / 0.7307 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.2183, allocations: 0 / 0.7307 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.008e-05/0.2184, allocations: 16.06 kB / 0.7307 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.2184, allocations: 3.938 kB / 0.7307 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.896e-05/0.2185, allocations: 15.94 kB / 0.7307 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.2185, allocations: 4 kB / 0.7307 GB, free: 12.71 MB / 0.545 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.0001805/0.2187, allocations: 141.8 kB / 0.7308 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/0.2187, allocations: 15.91 kB / 0.7308 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.934e-05/0.2187, allocations: 25.38 kB / 0.7309 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.2188, allocations: 0 / 0.7309 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.2188, allocations: 7.938 kB / 0.7309 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2188, allocations: 4 kB / 0.7309 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002684/0.219, allocations: 225.5 kB / 0.7311 GB, free: 12.24 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.219, allocations: 0 / 0.7311 GB, free: 12.24 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.952e-05/0.2191, allocations: 7.984 kB / 0.7311 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.2191, allocations: 0 / 0.7311 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.2191, allocations: 4 kB / 0.7311 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2191, allocations: 0 / 0.7311 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.2191, allocations: 3.938 kB / 0.7311 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002807/0.2194, allocations: 148.9 kB / 0.7313 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.885e-05/0.2195, allocations: 97.02 kB / 0.7313 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.953e-05/0.2195, allocations: 0 / 0.7313 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.771e-05/0.2196, allocations: 8 kB / 0.7314 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.345e-05/0.2196, allocations: 7.922 kB / 0.7314 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.2196, allocations: 8 kB / 0.7314 GB, free: 11.93 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002421/0.2199, allocations: 204.6 kB / 0.7316 GB, free: 11.73 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2199, allocations: 0 / 0.7316 GB, free: 11.73 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002791/0.2201, allocations: 35.94 kB / 0.7316 GB, free: 11.69 MB / 0.545 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.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent) * 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.00213/0.2223, allocations: 0.9801 MB / 0.7326 GB, free: 10.87 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002769/0.2225, allocations: 67.91 kB / 0.7326 GB, free: 10.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.2226, allocations: 4.062 kB / 0.7326 GB, free: 10.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.2227, allocations: 31.98 kB / 0.7327 GB, free: 10.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004986/0.2232, allocations: 54.53 kB / 0.7327 GB, free: 10.72 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003457/0.2266, allocations: 1.999 MB / 0.7347 GB, free: 8.637 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/0.2271, allocations: 0.728 MB / 0.7354 GB, free: 7.883 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.362e-05/0.2272, allocations: 21.72 kB / 0.7354 GB, free: 7.859 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.759e-05/0.2273, allocations: 47.42 kB / 0.7354 GB, free: 7.816 MB / 0.545 GB Notification: Performance of SimCode: time 6.51e-07/0.2273, allocations: 4 kB / 0.7354 GB, free: 7.812 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02346/0.2507, allocations: 4.674 MB / 0.74 GB, free: 3.227 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.553/8.804, allocations: 19.98 kB / 0.74 GB, free: 3.207 MB / 0.545 GB " [Timeout remaining time 651] (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: 12.881059854000341] Failed to read output from testmodel.py, exit status != 0: 8.993020462046843 9.008746896 8.792928709 Calling exit ...