Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0008545/0.0008545, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.001067/0.001067, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8508/0.8508, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001509/0.001509, allocations: 238.5 kB / 259.4 MB, free: 13 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6615/0.6615, allocations: 138.4 MB / 454.3 MB, free: 30.04 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.6463 GB, free: 1.895 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.163e-05/2.323e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.891 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.002462/0.002485, allocations: 1.792 MB / 0.648 GB, free: 88 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2444/0.2469, allocations: 1.104 MB / 0.6491 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.247, allocations: 1.719 kB / 0.6491 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0006849/0.2477, allocations: 179 kB / 0.6493 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0004209/0.2481, allocations: 155 kB / 0.6494 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003918/0.2485, allocations: 143.4 kB / 0.6496 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002217/0.2487, allocations: 173.8 kB / 0.6497 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.2488, allocations: 13.86 kB / 0.6498 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.249, allocations: 97.14 kB / 0.6499 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.2491, allocations: 69.78 kB / 0.6499 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.2491, allocations: 8.469 kB / 0.6499 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.2493, allocations: 68.48 kB / 0.65 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 8.084e-05/0.2494, allocations: 50.19 kB / 0.65 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.581e-05/0.2494, allocations: 32.16 kB / 0.6501 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003196/0.2497, allocations: 207.1 kB / 0.6503 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2497, allocations: 4.625 kB / 0.6503 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2497, allocations: 0 / 0.6503 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.2498, allocations: 0.6562 kB / 0.6503 GB, free: 55.63 MB / 0.5573 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.0006139/0.2504, allocations: 436.6 kB / 0.6507 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.2504, allocations: 11.62 kB / 0.6507 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.404e-05/0.2504, allocations: 32.72 kB / 0.6507 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.321e-05/0.2505, allocations: 16.84 kB / 0.6507 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.2507, allocations: 197.8 kB / 0.6509 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.2507, allocations: 2.062 kB / 0.6509 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.2507, allocations: 4 kB / 0.6509 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.2509, allocations: 83.34 kB / 0.651 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.2509, allocations: 0.5625 kB / 0.651 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-06/0.2509, allocations: 3.594 kB / 0.651 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.2509, allocations: 2.734 kB / 0.651 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.514e-05/0.251, allocations: 40.56 kB / 0.6511 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003861/0.2514, allocations: 322.3 kB / 0.6514 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.2515, allocations: 72.33 kB / 0.6514 GB, free: 54.76 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.1e-05/0.2515, allocations: 38.34 kB / 0.6515 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.2515, allocations: 0.6562 kB / 0.6515 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001221/0.2517, allocations: 82.62 kB / 0.6516 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=10): time 1.803e-06/0.2517, allocations: 0.5 kB / 0.6516 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10): time 0.0002466/0.2519, allocations: 155 kB / 0.6517 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/0.2519, allocations: 53.59 kB / 0.6518 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.2521, allocations: 279.2 kB / 0.652 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.2521, allocations: 31.56 kB / 0.6521 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.162e-05/0.2522, allocations: 117 kB / 0.6522 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.2522, allocations: 28.14 kB / 0.6522 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.2523, allocations: 29.08 kB / 0.6522 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.49e-05/0.2523, allocations: 333.6 kB / 0.6525 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.782e-05/0.2523, allocations: 27.44 kB / 0.6526 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.035e-05/0.2524, allocations: 83.22 kB / 0.6526 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.979e-05/0.2525, allocations: 76.55 kB / 0.6527 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2525, allocations: 0 / 0.6527 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000134/0.2526, allocations: 117.6 kB / 0.6528 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.2526, allocations: 4.969 kB / 0.6528 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.2526, allocations: 1.641 kB / 0.6528 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.2527, allocations: 6.703 kB / 0.6528 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.722e-05/0.2527, allocations: 13.81 kB / 0.6529 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.2527, allocations: 6.703 kB / 0.6529 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.802e-05/0.2528, allocations: 11.38 kB / 0.6529 GB, free: 53.83 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.2528, allocations: 3.969 kB / 0.6529 GB, free: 53.83 MB / 0.5573 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 8.915e-05/0.2529, allocations: 144.2 kB / 0.653 GB, free: 53.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.7e-05/0.2529, allocations: 20.02 kB / 0.653 GB, free: 53.69 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001873/0.2531, allocations: 127 kB / 0.6532 GB, free: 53.64 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.2531, allocations: 4.547 kB / 0.6532 GB, free: 53.64 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.2531, allocations: 2.625 kB / 0.6532 GB, free: 53.64 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.2531, allocations: 0.75 kB / 0.6532 GB, free: 53.64 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.2532, allocations: 196.9 kB / 0.6534 GB, free: 53.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2532, allocations: 0.6875 kB / 0.6534 GB, free: 53.45 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.365e-05/0.2533, allocations: 9.641 kB / 0.6534 GB, free: 53.45 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.2533, allocations: 0.625 kB / 0.6534 GB, free: 53.45 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.2533, allocations: 6.797 kB / 0.6534 GB, free: 53.45 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.2533, allocations: 0.9062 kB / 0.6534 GB, free: 53.45 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2533, allocations: 0 / 0.6534 GB, free: 53.45 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.2534, allocations: 158.6 kB / 0.6535 GB, free: 53.35 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.356e-05/0.2534, allocations: 23.75 kB / 0.6535 GB, free: 53.33 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.2535, allocations: 2.047 kB / 0.6535 GB, free: 53.33 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.737e-05/0.2535, allocations: 8.281 kB / 0.6536 GB, free: 53.33 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.2535, allocations: 7.016 kB / 0.6536 GB, free: 53.33 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.2535, allocations: 2.234 kB / 0.6536 GB, free: 53.33 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001245/0.2537, allocations: 202.8 kB / 0.6538 GB, free: 53.22 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2537, allocations: 0 / 0.6538 GB, free: 53.22 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001916/0.2539, allocations: 32.73 kB / 0.6538 GB, free: 53.21 MB / 0.5573 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.0009716/0.2548, allocations: 1.048 MB / 0.6548 GB, free: 52.55 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001694/0.255, allocations: 72.58 kB / 0.6549 GB, free: 52.53 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.255, allocations: 0 / 0.6549 GB, free: 52.53 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 5.039e-05/0.2551, allocations: 34.31 kB / 0.6549 GB, free: 52.52 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.2553, allocations: 34.34 kB / 0.6549 GB, free: 52.51 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.2567, allocations: 2.036 MB / 0.6569 GB, free: 51.09 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.244e-05/0.2568, allocations: 112.2 kB / 0.657 GB, free: 51 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 7.282e-05/0.2569, allocations: 21.45 kB / 0.6571 GB, free: 51 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.6e-05/0.2569, allocations: 53.11 kB / 0.6571 GB, free: 50.96 MB / 0.5573 GB Notification: Performance of SimCode: time 1.022e-06/0.2569, allocations: 4 kB / 0.6571 GB, free: 50.96 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01764/0.2746, allocations: 5.453 MB / 0.6624 GB, free: 49.48 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.575/6.849, allocations: 1.781 kB / 0.6624 GB, free: 49.48 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BooleanReplicator.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.454416798427701] Failed to read output from testmodel.py, exit status != 0: 6.946355992928147 6.953153633 6.701658268 Calling exit ...