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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006752/0.0006751, allocations: 91.77 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007477/0.0007481, allocations: 176.2 kB / 16.58 MB, free: 6.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.169/1.169, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6038/0.6038, allocations: 113.7 MB / 405.4 MB, free: 4.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002585/0.0002585, allocations: 12.22 kB / 493.1 MB, free: 8.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1192, allocations: 77.12 MB / 0.5569 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.001617/0.1209, allocations: 1.459 MB / 0.5583 GB, free: 10.22 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.1221, allocations: 0.9331 MB / 0.5592 GB, free: 9.277 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.762e-05/0.1222, allocations: 0 / 0.5592 GB, free: 9.277 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004485/0.1226, allocations: 147.7 kB / 0.5594 GB, free: 9.133 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.1228, allocations: 95.69 kB / 0.5595 GB, free: 9.039 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003223/0.1231, allocations: 150.6 kB / 0.5596 GB, free: 8.898 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000158/0.1233, allocations: 147.6 kB / 0.5597 GB, free: 8.754 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.179e-05/0.1234, allocations: 17.11 kB / 0.5598 GB, free: 8.738 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.105e-05/0.1235, allocations: 59.7 kB / 0.5598 GB, free: 8.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.803e-05/0.1236, allocations: 63.75 kB / 0.5599 GB, free: 8.617 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.1236, allocations: 7.938 kB / 0.5599 GB, free: 8.609 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.1237, allocations: 47.91 kB / 0.5599 GB, free: 8.562 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.087e-05/0.1238, allocations: 39.89 kB / 0.56 GB, free: 8.523 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.098e-05/0.1238, allocations: 53.58 kB / 0.56 GB, free: 8.465 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.124, allocations: 148 kB / 0.5602 GB, free: 8.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.124, allocations: 0 / 0.5602 GB, free: 8.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.124, allocations: 0 / 0.5602 GB, free: 8.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.124, allocations: 0 / 0.5602 GB, free: 8.32 MB / 430.1 MB 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.0005078/0.1245, allocations: 476.3 kB / 0.5606 GB, free: 7.801 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.1246, allocations: 8.031 kB / 0.5606 GB, free: 7.793 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.331e-05/0.1246, allocations: 38.56 kB / 0.5607 GB, free: 7.746 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/0.1246, allocations: 15.81 kB / 0.5607 GB, free: 7.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.1249, allocations: 247.6 kB / 0.5609 GB, free: 7.445 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.1249, allocations: 4 kB / 0.5609 GB, free: 7.441 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-06/0.1249, allocations: 0 / 0.5609 GB, free: 7.441 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.1251, allocations: 91.33 kB / 0.561 GB, free: 7.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.1251, allocations: 0 / 0.561 GB, free: 7.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.1251, allocations: 4 kB / 0.561 GB, free: 7.336 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.1251, allocations: 7.984 kB / 0.561 GB, free: 7.328 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.803e-05/0.1252, allocations: 35.92 kB / 0.561 GB, free: 7.293 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003969/0.1256, allocations: 352.7 kB / 0.5614 GB, free: 6.898 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.1258, allocations: 70.67 kB / 0.5615 GB, free: 6.82 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.127e-05/0.1258, allocations: 44.78 kB / 0.5615 GB, free: 6.773 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.1259, allocations: 0 / 0.5615 GB, free: 6.773 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001426/0.126, allocations: 83.38 kB / 0.5616 GB, free: 6.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.126, allocations: 0 / 0.5616 GB, free: 6.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002733/0.1263, allocations: 145.3 kB / 0.5617 GB, free: 6.531 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.1263, allocations: 81.11 kB / 0.5618 GB, free: 6.434 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.1266, allocations: 267.5 kB / 0.562 GB, free: 6.164 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.1266, allocations: 25.7 kB / 0.5621 GB, free: 6.133 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.802e-05/0.1267, allocations: 120.1 kB / 0.5622 GB, free: 6.012 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.1267, allocations: 31.58 kB / 0.5622 GB, free: 5.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/0.1267, allocations: 0 / 0.5622 GB, free: 5.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.571e-05/0.1268, allocations: 326.8 kB / 0.5625 GB, free: 5.652 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.535e-05/0.1269, allocations: 27.98 kB / 0.5626 GB, free: 5.625 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.039e-05/0.127, allocations: 55.42 kB / 0.5626 GB, free: 5.559 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.8e-05/0.127, allocations: 43.94 kB / 0.5626 GB, free: 5.516 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.127, allocations: 3.953 kB / 0.5627 GB, free: 5.512 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001703/0.1272, allocations: 117.4 kB / 0.5628 GB, free: 5.391 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.1272, allocations: 4 kB / 0.5628 GB, free: 5.387 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1272, allocations: 4 kB / 0.5628 GB, free: 5.383 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.377e-06/0.1273, allocations: 0 / 0.5628 GB, free: 5.383 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.172e-05/0.1273, allocations: 11.98 kB / 0.5628 GB, free: 5.371 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.1273, allocations: 4.062 kB / 0.5628 GB, free: 5.367 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.191e-05/0.1274, allocations: 8 kB / 0.5628 GB, free: 5.359 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.1274, allocations: 0 / 0.5628 GB, free: 5.359 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.y,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001109/0.1275, allocations: 146.4 kB / 0.5629 GB, free: 5.207 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.1276, allocations: 15.77 kB / 0.5629 GB, free: 5.191 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.743e-05/0.1276, allocations: 25.39 kB / 0.563 GB, free: 5.164 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.198e-06/0.1276, allocations: 4 kB / 0.563 GB, free: 5.16 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.1276, allocations: 0 / 0.563 GB, free: 5.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1276, allocations: 4 kB / 0.563 GB, free: 5.156 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.1278, allocations: 221.8 kB / 0.5632 GB, free: 4.891 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1278, allocations: 0 / 0.5632 GB, free: 4.891 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.275e-05/0.1278, allocations: 11.95 kB / 0.5632 GB, free: 4.879 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1278, allocations: 0 / 0.5632 GB, free: 4.879 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.1279, allocations: 11.92 kB / 0.5632 GB, free: 4.867 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1279, allocations: 0 / 0.5632 GB, free: 4.867 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1279, allocations: 0 / 0.5632 GB, free: 4.867 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001948/0.1281, allocations: 144.9 kB / 0.5634 GB, free: 4.707 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.278e-05/0.1281, allocations: 96.91 kB / 0.5634 GB, free: 4.594 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.1282, allocations: 11.89 kB / 0.5635 GB, free: 4.582 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.773e-05/0.1282, allocations: 7.984 kB / 0.5635 GB, free: 4.574 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.705e-05/0.1282, allocations: 7.984 kB / 0.5635 GB, free: 4.566 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.1283, allocations: 0 / 0.5635 GB, free: 4.566 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001624/0.1284, allocations: 200.4 kB / 0.5637 GB, free: 4.371 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1284, allocations: 0 / 0.5637 GB, free: 4.371 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002142/0.1286, allocations: 28 kB / 0.5637 GB, free: 4.344 MB / 430.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001135/0.1298, allocations: 0.9998 MB / 0.5647 GB, free: 3.488 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001701/0.13, allocations: 71.91 kB / 0.5647 GB, free: 3.418 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.13, allocations: 0 / 0.5647 GB, free: 3.418 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.259e-05/0.1301, allocations: 44.05 kB / 0.5648 GB, free: 3.375 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.1303, allocations: 31.92 kB / 0.5648 GB, free: 3.344 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.1316, allocations: 0.976 MB / 0.5658 GB, free: 2.316 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.1318, allocations: 0.7204 MB / 0.5665 GB, free: 1.57 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.034e-05/0.1319, allocations: 25.72 kB / 0.5665 GB, free: 1.547 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.454e-05/0.132, allocations: 47.41 kB / 0.5665 GB, free: 1.5 MB / 430.1 MB Notification: Performance of SimCode: time 2.5e-07/0.132, allocations: 0 / 0.5665 GB, free: 1.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01254/0.1445, allocations: 3.965 MB / 0.5704 GB, free: 13.7 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001739/0.1447, allocations: 217.6 kB / 0.5706 GB, free: 13.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.53/1.675, allocations: 0 / 0.5706 GB, free: 13.45 MB / 446.1 MB (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/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_BooleanReplicator.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) Environment - environmentSimulation: