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.001425/0.001425, allocations: 97.12 kB / 15.68 MB, free: 488 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.001792/0.001793, allocations: 174.9 kB / 16.56 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.047/2.047, allocations: 223.2 MB / 240.5 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7942/0.7942, allocations: 113.7 MB / 405.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005994/0.0005996, allocations: 8 kB / 493 MB, free: 8.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.218, allocations: 77.11 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.003836/0.2219, allocations: 1.443 MB / 0.5581 GB, free: 10.24 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.2237, allocations: 0.9291 MB / 0.559 GB, free: 9.301 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.686e-05/0.2239, allocations: 0 / 0.559 GB, free: 9.301 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006513/0.2245, allocations: 143.7 kB / 0.5592 GB, free: 9.16 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002479/0.2248, allocations: 95.75 kB / 0.5593 GB, free: 9.066 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004643/0.2253, allocations: 143.4 kB / 0.5594 GB, free: 8.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.2254, allocations: 103.8 kB / 0.5595 GB, free: 8.828 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.2256, allocations: 13.12 kB / 0.5595 GB, free: 8.816 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.2257, allocations: 63.75 kB / 0.5596 GB, free: 8.754 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001713/0.2259, allocations: 59.75 kB / 0.5596 GB, free: 8.695 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.2259, allocations: 4 kB / 0.5596 GB, free: 8.691 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.226, allocations: 43.92 kB / 0.5597 GB, free: 8.648 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.323e-05/0.2261, allocations: 31.91 kB / 0.5597 GB, free: 8.617 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.942e-05/0.2262, allocations: 41.64 kB / 0.5597 GB, free: 8.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003255/0.2265, allocations: 155.9 kB / 0.5599 GB, free: 8.418 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2265, allocations: 0 / 0.5599 GB, free: 8.418 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.2265, allocations: 0 / 0.5599 GB, free: 8.418 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.2265, allocations: 0 / 0.5599 GB, free: 8.418 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.001175/0.2277, allocations: 472.3 kB / 0.5603 GB, free: 7.902 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/0.2278, allocations: 12.03 kB / 0.5604 GB, free: 7.891 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.221e-05/0.2279, allocations: 38.55 kB / 0.5604 GB, free: 7.844 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.829e-05/0.2279, allocations: 19.81 kB / 0.5604 GB, free: 7.824 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00064/0.2286, allocations: 235.7 kB / 0.5606 GB, free: 7.551 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.2286, allocations: 7.938 kB / 0.5606 GB, free: 7.543 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.2286, allocations: 4 kB / 0.5606 GB, free: 7.539 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/0.2289, allocations: 87.33 kB / 0.5607 GB, free: 7.441 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.2289, allocations: 0 / 0.5607 GB, free: 7.441 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.2289, allocations: 4 kB / 0.5607 GB, free: 7.438 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.658e-05/0.2289, allocations: 8 kB / 0.5607 GB, free: 7.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.2291, allocations: 35.97 kB / 0.5608 GB, free: 7.395 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009534/0.23, allocations: 356.6 kB / 0.5611 GB, free: 6.996 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002246/0.2303, allocations: 70.67 kB / 0.5612 GB, free: 6.918 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.2303, allocations: 4 kB / 0.5612 GB, free: 6.914 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002059/0.2305, allocations: 91.41 kB / 0.5613 GB, free: 6.812 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 2.224e-06/0.2305, allocations: 0 / 0.5613 GB, free: 6.812 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004745/0.231, allocations: 226.5 kB / 0.5615 GB, free: 6.566 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.49e-05/0.2311, allocations: 81.09 kB / 0.5616 GB, free: 6.469 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003005/0.2314, allocations: 259.5 kB / 0.5618 GB, free: 6.207 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.2314, allocations: 37.7 kB / 0.5618 GB, free: 6.164 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.2315, allocations: 120 kB / 0.562 GB, free: 6.043 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.2316, allocations: 23.64 kB / 0.562 GB, free: 6.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-06/0.2316, allocations: 4 kB / 0.562 GB, free: 6.016 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002725/0.2319, allocations: 322.8 kB / 0.5623 GB, free: 5.691 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/0.2321, allocations: 27.98 kB / 0.5623 GB, free: 5.664 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.02e-05/0.2322, allocations: 56.84 kB / 0.5624 GB, free: 5.598 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.239e-05/0.2323, allocations: 47.97 kB / 0.5624 GB, free: 5.551 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2323, allocations: 0 / 0.5624 GB, free: 5.551 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002275/0.2325, allocations: 117.4 kB / 0.5625 GB, free: 5.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.2326, allocations: 6.344 kB / 0.5625 GB, free: 5.426 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.2326, allocations: 160 / 0.5625 GB, free: 5.426 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.2326, allocations: 7.984 kB / 0.5625 GB, free: 5.418 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.366e-05/0.2327, allocations: 8 kB / 0.5626 GB, free: 5.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.2327, allocations: 3.984 kB / 0.5626 GB, free: 5.406 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.382e-05/0.2328, allocations: 12.39 kB / 0.5626 GB, free: 5.395 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.2328, allocations: 4 kB / 0.5626 GB, free: 5.391 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.0001601/0.233, allocations: 141.8 kB / 0.5627 GB, free: 5.242 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.233, allocations: 19.77 kB / 0.5627 GB, free: 5.223 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.895e-05/0.2331, allocations: 25.33 kB / 0.5628 GB, free: 5.195 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.791e-05/0.2331, allocations: 4.109 kB / 0.5628 GB, free: 5.191 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.2331, allocations: 3.938 kB / 0.5628 GB, free: 5.188 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.2331, allocations: 3.938 kB / 0.5628 GB, free: 5.184 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002386/0.2334, allocations: 229.4 kB / 0.563 GB, free: 4.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2334, allocations: 0 / 0.563 GB, free: 4.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.336e-05/0.2334, allocations: 4 kB / 0.563 GB, free: 4.906 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.2334, allocations: 3.953 kB / 0.563 GB, free: 4.902 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.2334, allocations: 4 kB / 0.563 GB, free: 4.898 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.2335, allocations: 3.984 kB / 0.563 GB, free: 4.895 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2335, allocations: 0 / 0.563 GB, free: 4.895 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.2337, allocations: 136.9 kB / 0.5631 GB, free: 4.742 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.266e-05/0.2338, allocations: 100.9 kB / 0.5632 GB, free: 4.625 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/0.2338, allocations: 7.953 kB / 0.5632 GB, free: 4.617 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.698e-05/0.2339, allocations: 8 kB / 0.5632 GB, free: 4.609 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.411e-05/0.234, allocations: 3.984 kB / 0.5632 GB, free: 4.605 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.234, allocations: 4 kB / 0.5633 GB, free: 4.602 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002001/0.2342, allocations: 192.4 kB / 0.5634 GB, free: 4.414 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.2342, allocations: 0 / 0.5634 GB, free: 4.414 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.2345, allocations: 35.98 kB / 0.5635 GB, free: 4.379 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.001503/0.236, allocations: 0.9927 MB / 0.5644 GB, free: 3.531 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002144/0.2362, allocations: 79.89 kB / 0.5645 GB, free: 3.453 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2362, allocations: 0 / 0.5645 GB, free: 3.453 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.134e-05/0.2363, allocations: 36.05 kB / 0.5645 GB, free: 3.418 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.2366, allocations: 41.98 kB / 0.5646 GB, free: 3.383 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.2383, allocations: 1.099 MB / 0.5657 GB, free: 2.234 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.2387, allocations: 0.7282 MB / 0.5664 GB, free: 1.48 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.153e-05/0.2388, allocations: 21.72 kB / 0.5664 GB, free: 1.461 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.715e-05/0.2389, allocations: 47.41 kB / 0.5664 GB, free: 1.414 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2389, allocations: 3.938 kB / 0.5664 GB, free: 1.41 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7969/1.036, allocations: 3.949 MB / 0.5703 GB, free: 13.61 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003201/1.036, allocations: 215.9 kB / 0.5705 GB, free: 13.37 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.728/4.765, allocations: 3.938 kB / 0.5705 GB, free: 13.36 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: