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 2.766/2.766, allocations: 287.5 MB / 302.4 MB, free: 8.316 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.001367/0.001367, allocations: 186.2 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.324/2.324, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.001421/0.001421, allocations: 93.81 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005188/0.0005191, allocations: 17.53 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2568, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002269/0.2592, allocations: 1.47 MB / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001792/0.261, allocations: 0.8756 MB / 0.9807 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.2612, allocations: 4 kB / 0.9807 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006826/0.2619, allocations: 143.7 kB / 0.9809 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003235/0.2622, allocations: 97.06 kB / 0.981 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005263/0.2628, allocations: 125.8 kB / 0.9811 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002464/0.263, allocations: 143.6 kB / 0.9812 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.2632, allocations: 33.09 kB / 0.9813 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.2633, allocations: 63.69 kB / 0.9813 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.2634, allocations: 63.75 kB / 0.9814 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.818e-05/0.2635, allocations: 4 kB / 0.9814 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.2636, allocations: 39.98 kB / 0.9814 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.947e-05/0.2637, allocations: 39.83 kB / 0.9815 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.681e-05/0.2638, allocations: 49.58 kB / 0.9815 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.264, allocations: 152 kB / 0.9816 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.264, allocations: 0 / 0.9816 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.684e-06/0.2641, allocations: 0 / 0.9816 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.2641, allocations: 4 kB / 0.9817 GB, free: 24.97 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.0007199/0.2648, allocations: 476.2 kB / 0.9821 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.2649, allocations: 16.02 kB / 0.9821 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.768e-05/0.2649, allocations: 34.56 kB / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.997e-05/0.265, allocations: 23.67 kB / 0.9822 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.2653, allocations: 235.8 kB / 0.9824 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.2653, allocations: 4 kB / 0.9824 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.2654, allocations: 4 kB / 0.9824 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002261/0.2656, allocations: 103.2 kB / 0.9825 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.2656, allocations: 0 / 0.9825 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.2656, allocations: 0 / 0.9825 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.218e-05/0.2657, allocations: 4 kB / 0.9825 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.2658, allocations: 35.94 kB / 0.9825 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005614/0.2664, allocations: 356.7 kB / 0.9829 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002456/0.2667, allocations: 70.67 kB / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.847e-05/0.2668, allocations: 32.86 kB / 0.983 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.2668, allocations: 0 / 0.983 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002426/0.2671, allocations: 91.27 kB / 0.9831 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.234e-06/0.2671, allocations: 4 kB / 0.9831 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0004417/0.2675, allocations: 141.4 kB / 0.9832 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.2676, allocations: 77.11 kB / 0.9833 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00032/0.2679, allocations: 263.7 kB / 0.9835 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.2679, allocations: 29.7 kB / 0.9836 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.577e-05/0.268, allocations: 120 kB / 0.9837 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.2681, allocations: 23.66 kB / 0.9837 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.453e-06/0.2681, allocations: 0 / 0.9837 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.229e-05/0.2682, allocations: 334.9 kB / 0.984 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.066e-05/0.2683, allocations: 31.92 kB / 0.9841 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.2684, allocations: 51.42 kB / 0.9841 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.2685, allocations: 36.36 kB / 0.9841 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.2685, allocations: 0 / 0.9841 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00027/0.2688, allocations: 121.4 kB / 0.9843 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.2688, allocations: 11.89 kB / 0.9843 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.2688, allocations: 0 / 0.9843 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.2689, allocations: 4 kB / 0.9843 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.269, allocations: 8 kB / 0.9843 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.974e-06/0.269, allocations: 0 / 0.9843 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.2691, allocations: 7.984 kB / 0.9843 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.2692, allocations: 4 kB / 0.9843 GB, free: 22.01 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.0001533/0.2693, allocations: 151.1 kB / 0.9844 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.2694, allocations: 11.81 kB / 0.9844 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.777e-05/0.2694, allocations: 25.34 kB / 0.9845 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/0.2694, allocations: 4 kB / 0.9845 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.2695, allocations: 0 / 0.9845 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.2695, allocations: 4 kB / 0.9845 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.2697, allocations: 225.5 kB / 0.9847 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2697, allocations: 0 / 0.9847 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.397e-05/0.2698, allocations: 7.938 kB / 0.9847 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.2698, allocations: 0 / 0.9847 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.2698, allocations: 8 kB / 0.9847 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.2698, allocations: 3.953 kB / 0.9847 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2698, allocations: 3.984 kB / 0.9847 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00029/0.2701, allocations: 140.9 kB / 0.9848 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.032e-05/0.2702, allocations: 92.91 kB / 0.9849 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.127e-05/0.2702, allocations: 8 kB / 0.9849 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.303e-05/0.2703, allocations: 7.938 kB / 0.9849 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.2704, allocations: 11.94 kB / 0.985 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.2704, allocations: 7.938 kB / 0.985 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000229/0.2707, allocations: 192.4 kB / 0.9852 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2707, allocations: 0 / 0.9852 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00036/0.271, allocations: 31.98 kB / 0.9852 GB, free: 21 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.001652/0.2727, allocations: 1 MB / 0.9862 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003127/0.2731, allocations: 75.89 kB / 0.9862 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.2731, allocations: 0 / 0.9862 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.2732, allocations: 35.92 kB / 0.9863 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.2737, allocations: 39.86 kB / 0.9863 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.2757, allocations: 0.9792 MB / 0.9873 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/0.2759, allocations: 0.7278 MB / 0.988 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001267/0.2761, allocations: 25.72 kB / 0.988 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.2762, allocations: 47.42 kB / 0.988 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of SimCode: time 1.322e-06/0.2762, allocations: 3.938 kB / 0.988 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03122/0.3074, allocations: 3.969 MB / 0.9919 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002308/0.3077, allocations: 233.2 kB / 0.9921 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.703/3.01, allocations: 4 kB / 0.9921 GB, free: 14.05 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)