Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.619/1.619, allocations: 288.2 MB / 303.2 MB, free: 8.23 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.001521/0.001521, allocations: 189 kB / 371.8 MB, free: 10.25 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.979/1.979, allocations: 205.4 MB / 0.6305 GB, free: 9.973 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.001082/0.001083, allocations: 90.86 kB / 0.7439 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004648/0.0004648, allocations: 12.94 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3058, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9497/1.255, allocations: 142 MB / 1.118 GB, free: 16.33 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/1.256, allocations: 78.55 kB / 1.118 GB, free: 16.33 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01504/1.271, allocations: 5.421 MB / 1.124 GB, free: 31.74 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.775e-06/1.271, allocations: 0 / 1.124 GB, free: 31.74 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.295e-05/1.271, allocations: 3.969 kB / 1.124 GB, free: 31.74 MB / 0.698 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.0007021/1.272, allocations: 0.4939 MB / 1.124 GB, free: 31.28 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/1.272, allocations: 19.52 kB / 1.124 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.928e-05/1.272, allocations: 34.5 kB / 1.124 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.217e-05/1.272, allocations: 19.38 kB / 1.124 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004257/1.272, allocations: 257.5 kB / 1.124 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/1.272, allocations: 3.969 kB / 1.124 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/1.272, allocations: 0 / 1.124 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/1.273, allocations: 90.67 kB / 1.124 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/1.273, allocations: 8 kB / 1.124 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/1.273, allocations: 0 / 1.124 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/1.273, allocations: 3.875 kB / 1.124 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.578e-05/1.273, allocations: 40.31 kB / 1.124 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005525/1.273, allocations: 357.6 kB / 1.125 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/1.273, allocations: 81.72 kB / 1.125 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/1.274, allocations: 4.031 kB / 1.125 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000144/1.274, allocations: 85.16 kB / 1.125 GB, free: 30.59 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.773e-06/1.274, allocations: 0 / 1.125 GB, free: 30.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0003519/1.274, allocations: 234.9 kB / 1.125 GB, free: 30.45 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/1.274, allocations: 77.22 kB / 1.125 GB, free: 30.36 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/1.274, allocations: 248.1 kB / 1.125 GB, free: 30.25 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/1.274, allocations: 25.7 kB / 1.126 GB, free: 30.22 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.162e-05/1.274, allocations: 120.1 kB / 1.126 GB, free: 30.14 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/1.274, allocations: 23.3 kB / 1.126 GB, free: 30.12 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-06/1.274, allocations: 0 / 1.126 GB, free: 30.12 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001217/1.275, allocations: 336.8 kB / 1.126 GB, free: 29.81 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.864e-05/1.275, allocations: 29.52 kB / 1.126 GB, free: 29.81 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.394e-05/1.275, allocations: 63.02 kB / 1.126 GB, free: 29.77 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.457e-05/1.275, allocations: 41.33 kB / 1.126 GB, free: 29.77 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/1.275, allocations: 0 / 1.126 GB, free: 29.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001736/1.275, allocations: 114.1 kB / 1.126 GB, free: 29.72 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/1.275, allocations: 7.625 kB / 1.126 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/1.275, allocations: 2.719 kB / 1.126 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/1.275, allocations: 0 / 1.126 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.103e-05/1.275, allocations: 11.66 kB / 1.126 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/1.275, allocations: 3.781 kB / 1.126 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.051e-05/1.275, allocations: 10.53 kB / 1.126 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/1.275, allocations: 3.875 kB / 1.126 GB, free: 29.71 MB / 0.698 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.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,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.0001251/1.275, allocations: 142.6 kB / 1.126 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/1.275, allocations: 15.62 kB / 1.126 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000228/1.276, allocations: 131.7 kB / 1.127 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/1.276, allocations: 10.7 kB / 1.127 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.276, allocations: 0 / 1.127 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/1.276, allocations: 0 / 1.127 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/1.276, allocations: 235.6 kB / 1.127 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.276, allocations: 0 / 1.127 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.566e-05/1.276, allocations: 3.969 kB / 1.127 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/1.276, allocations: 3.844 kB / 1.127 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/1.276, allocations: 2.625 kB / 1.127 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/1.276, allocations: 0 / 1.127 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.276, allocations: 0 / 1.127 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/1.276, allocations: 160.5 kB / 1.127 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.13e-05/1.276, allocations: 104.5 kB / 1.127 GB, free: 29.17 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/1.276, allocations: 3.969 kB / 1.127 GB, free: 29.17 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.42e-05/1.276, allocations: 9.953 kB / 1.127 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/1.276, allocations: 2.719 kB / 1.127 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/1.276, allocations: 7.719 kB / 1.127 GB, free: 29.16 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000186/1.277, allocations: 196.2 kB / 1.127 GB, free: 29.09 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.372e-06/1.277, allocations: 4 kB / 1.127 GB, free: 29.08 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002555/1.277, allocations: 44.58 kB / 1.127 GB, free: 29.07 MB / 0.698 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.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,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 (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.001293/1.278, allocations: 1.009 MB / 1.128 GB, free: 28.36 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002043/1.278, allocations: 84.45 kB / 1.128 GB, free: 28.36 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.278, allocations: 3.906 kB / 1.128 GB, free: 28.36 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.886e-05/1.279, allocations: 42.72 kB / 1.128 GB, free: 28.35 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/1.279, allocations: 44.44 kB / 1.128 GB, free: 28.34 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/1.28, allocations: 1.126 MB / 1.13 GB, free: 27.74 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/1.28, allocations: 0.7383 MB / 1.13 GB, free: 27.04 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.285e-05/1.281, allocations: 23.56 kB / 1.13 GB, free: 27.04 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.486e-05/1.281, allocations: 45.16 kB / 1.13 GB, free: 27.03 MB / 0.698 GB Notification: Performance of SimCode: time 2.5e-07/1.281, allocations: 0 / 1.13 GB, free: 27.03 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01778/1.298, allocations: 4.124 MB / 1.134 GB, free: 25.63 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000167/1.299, allocations: 233 kB / 1.135 GB, free: 25.38 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/3.084, allocations: 0 / 1.135 GB, free: 25.38 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)