Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.678/1.678, allocations: 287.4 MB / 302.5 MB, free: 8.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009585/0.0009585, allocations: 181.2 kB / 371.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.69/1.69, allocations: 205.4 MB / 0.6298 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008706/0.0008707, allocations: 98.23 kB / 0.7431 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004269/0.0004269, allocations: 13.17 kB / 0.8662 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2725, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002104/0.2746, allocations: 1.466 MB / 0.9802 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001251/0.2759, allocations: 0.8764 MB / 0.981 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.515e-05/0.276, allocations: 0 / 0.981 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005731/0.2766, allocations: 151.7 kB / 0.9812 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002097/0.2768, allocations: 95.7 kB / 0.9813 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.2772, allocations: 126.5 kB / 0.9814 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001756/0.2774, allocations: 151.6 kB / 0.9815 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.2775, allocations: 25.11 kB / 0.9815 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.2776, allocations: 63.69 kB / 0.9816 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.935e-05/0.2777, allocations: 59.75 kB / 0.9817 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.2777, allocations: 4 kB / 0.9817 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.2779, allocations: 43.97 kB / 0.9817 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.728e-05/0.2779, allocations: 43.78 kB / 0.9817 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.828e-05/0.278, allocations: 45.64 kB / 0.9818 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.2782, allocations: 148 kB / 0.9819 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.867e-06/0.2782, allocations: 4 kB / 0.9819 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.235e-06/0.2782, allocations: 0 / 0.9819 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.2782, allocations: 0 / 0.9819 GB, free: 24.8 MB / 0.6198 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.0006787/0.2789, allocations: 476.5 kB / 0.9824 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.279, allocations: 8.031 kB / 0.9824 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.886e-05/0.279, allocations: 34.75 kB / 0.9824 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.001e-05/0.2791, allocations: 20.66 kB / 0.9825 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.2793, allocations: 248.8 kB / 0.9827 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.2794, allocations: 4.375 kB / 0.9827 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.2794, allocations: 11.94 kB / 0.9827 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.2796, allocations: 87.38 kB / 0.9828 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.2796, allocations: 0 / 0.9828 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.2796, allocations: 3.938 kB / 0.9828 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.067e-05/0.2796, allocations: 8 kB / 0.9828 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.521e-05/0.2797, allocations: 31.98 kB / 0.9828 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004476/0.2802, allocations: 352.6 kB / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.2803, allocations: 78.61 kB / 0.9832 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.02e-05/0.2804, allocations: 32.84 kB / 0.9833 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.2804, allocations: 4 kB / 0.9833 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001549/0.2806, allocations: 75.39 kB / 0.9833 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.2806, allocations: 4 kB / 0.9834 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003189/0.2809, allocations: 153.4 kB / 0.9835 GB, free: 23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.281, allocations: 77.11 kB / 0.9836 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.2812, allocations: 259.6 kB / 0.9838 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.2812, allocations: 29.7 kB / 0.9838 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.216e-05/0.2813, allocations: 112.1 kB / 0.984 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.2813, allocations: 27.64 kB / 0.984 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/0.2813, allocations: 4.109 kB / 0.984 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.95e-05/0.2814, allocations: 334.8 kB / 0.9843 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.709e-05/0.2815, allocations: 31.92 kB / 0.9843 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.358e-05/0.2815, allocations: 55.42 kB / 0.9844 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.2817, allocations: 69.69 kB / 0.9845 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2817, allocations: 0 / 0.9845 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001965/0.2819, allocations: 125.8 kB / 0.9846 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.2819, allocations: 4 kB / 0.9846 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.2819, allocations: 0 / 0.9846 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.2819, allocations: 0 / 0.9846 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.364e-05/0.282, allocations: 15.94 kB / 0.9846 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.282, allocations: 0 / 0.9846 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.795e-05/0.2821, allocations: 23.77 kB / 0.9846 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.2821, allocations: 4 kB / 0.9846 GB, free: 21.79 MB / 0.6198 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 ($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.0001063/0.2822, allocations: 151.1 kB / 0.9848 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.147e-05/0.2822, allocations: 15.81 kB / 0.9848 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/0.2823, allocations: 17.41 kB / 0.9848 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.2823, allocations: 11.97 kB / 0.9848 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.2823, allocations: 0 / 0.9848 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.768e-06/0.2823, allocations: 7.938 kB / 0.9848 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.2825, allocations: 213.6 kB / 0.985 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2825, allocations: 0 / 0.985 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.992e-05/0.2825, allocations: 4 kB / 0.985 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.2825, allocations: 0 / 0.985 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.2825, allocations: 4 kB / 0.985 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2825, allocations: 3.938 kB / 0.985 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2825, allocations: 4 kB / 0.985 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/0.2827, allocations: 144.8 kB / 0.9852 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.349e-05/0.2828, allocations: 92.91 kB / 0.9853 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.2828, allocations: 4 kB / 0.9853 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.728e-05/0.2829, allocations: 7.938 kB / 0.9853 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.2829, allocations: 15.92 kB / 0.9853 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.2829, allocations: 4 kB / 0.9853 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001433/0.2831, allocations: 200.3 kB / 0.9855 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2831, allocations: 0 / 0.9855 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002126/0.2833, allocations: 27.89 kB / 0.9855 GB, free: 20.79 MB / 0.6198 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 (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.001168/0.2845, allocations: 1.005 MB / 0.9865 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001928/0.2847, allocations: 71.95 kB / 0.9866 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2847, allocations: 0 / 0.9866 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.079e-05/0.2848, allocations: 39.92 kB / 0.9866 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.2851, allocations: 38.28 kB / 0.9866 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.2863, allocations: 0.9682 MB / 0.9876 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001591/0.2865, allocations: 0.7278 MB / 0.9883 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.859e-05/0.2866, allocations: 25.72 kB / 0.9883 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.543e-05/0.2867, allocations: 43.42 kB / 0.9884 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2867, allocations: 0 / 0.9884 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01549/0.3022, allocations: 3.965 MB / 0.9922 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001663/0.3024, allocations: 228.2 kB / 0.9924 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.748/2.05, allocations: 4.062 kB / 0.9924 GB, free: 13.86 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)