Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.66/1.66, allocations: 289.7 MB / 302.2 MB, free: 2.137 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.001052/0.001052, allocations: 178 kB / 371.6 MB, free: 3.359 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.754/1.754, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009412/0.000941, allocations: 89.7 kB / 0.745 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.28e-05/4.309e-05, allocations: 7.984 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2954, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8697/1.165, allocations: 142.9 MB / 1.119 GB, free: 41.82 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/1.166, allocations: 79.59 kB / 1.119 GB, free: 41.79 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01409/1.18, allocations: 5.396 MB / 1.125 GB, free: 38.79 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.382e-06/1.18, allocations: 0 / 1.125 GB, free: 38.79 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.834e-05/1.18, allocations: 5.031 kB / 1.125 GB, free: 38.79 MB / 0.7448 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.0005195/1.18, allocations: 468.4 kB / 1.125 GB, free: 38.31 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/1.18, allocations: 12.03 kB / 1.125 GB, free: 38.3 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.379e-05/1.18, allocations: 36.97 kB / 1.125 GB, free: 38.26 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.448e-05/1.18, allocations: 18.28 kB / 1.125 GB, free: 38.24 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004245/1.181, allocations: 252.4 kB / 1.126 GB, free: 37.99 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/1.181, allocations: 4.703 kB / 1.126 GB, free: 37.99 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/1.181, allocations: 4 kB / 1.126 GB, free: 37.98 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/1.181, allocations: 87.34 kB / 1.126 GB, free: 37.91 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/1.181, allocations: 4 kB / 1.126 GB, free: 37.91 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/1.181, allocations: 6.844 kB / 1.126 GB, free: 37.91 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.837e-05/1.181, allocations: 3.938 kB / 1.126 GB, free: 37.9 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.265e-05/1.181, allocations: 42.08 kB / 1.126 GB, free: 37.88 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005413/1.182, allocations: 361.8 kB / 1.126 GB, free: 37.55 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/1.182, allocations: 82.2 kB / 1.126 GB, free: 37.49 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.851e-05/1.182, allocations: 30.23 kB / 1.126 GB, free: 37.46 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/1.182, allocations: 0 / 1.126 GB, free: 37.46 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001259/1.182, allocations: 80.62 kB / 1.126 GB, free: 37.39 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/1.182, allocations: 0 / 1.126 GB, free: 37.39 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0002388/1.182, allocations: 114 kB / 1.126 GB, free: 37.3 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/1.182, allocations: 84.23 kB / 1.126 GB, free: 37.2 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002288/1.183, allocations: 241.5 kB / 1.127 GB, free: 37.02 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/1.183, allocations: 25.7 kB / 1.127 GB, free: 36.99 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.633e-05/1.183, allocations: 121 kB / 1.127 GB, free: 36.89 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/1.183, allocations: 22.3 kB / 1.127 GB, free: 36.88 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/1.183, allocations: 0 / 1.127 GB, free: 36.88 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.178e-05/1.183, allocations: 330.3 kB / 1.127 GB, free: 36.56 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.029e-05/1.183, allocations: 22.25 kB / 1.127 GB, free: 36.55 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.927e-05/1.183, allocations: 64.14 kB / 1.127 GB, free: 36.49 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.995e-05/1.183, allocations: 36.41 kB / 1.127 GB, free: 36.47 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.183, allocations: 0 / 1.127 GB, free: 36.47 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001451/1.183, allocations: 120 kB / 1.127 GB, free: 36.37 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/1.183, allocations: 5.094 kB / 1.127 GB, free: 36.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/1.183, allocations: 0 / 1.127 GB, free: 36.37 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/1.183, allocations: 0 / 1.127 GB, free: 36.37 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.591e-05/1.183, allocations: 17.38 kB / 1.127 GB, free: 36.35 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/1.183, allocations: 3.828 kB / 1.127 GB, free: 36.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.246e-05/1.183, allocations: 7.938 kB / 1.127 GB, free: 36.34 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/1.183, allocations: 9.375 kB / 1.127 GB, free: 36.34 MB / 0.7448 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 () * 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 6.501e-05/1.184, allocations: 120.2 kB / 1.127 GB, free: 36.21 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/1.184, allocations: 15.81 kB / 1.127 GB, free: 36.2 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001927/1.184, allocations: 124.3 kB / 1.128 GB, free: 36.12 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/1.184, allocations: 8 kB / 1.128 GB, free: 36.11 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/1.184, allocations: 0 / 1.128 GB, free: 36.11 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/1.184, allocations: 4.562 kB / 1.128 GB, free: 36.11 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/1.184, allocations: 232.7 kB / 1.128 GB, free: 35.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/1.184, allocations: 0 / 1.128 GB, free: 35.88 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.612e-05/1.184, allocations: 8 kB / 1.128 GB, free: 35.88 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/1.184, allocations: 0 / 1.128 GB, free: 35.88 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/1.184, allocations: 7.266 kB / 1.128 GB, free: 35.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/1.184, allocations: 0 / 1.128 GB, free: 35.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/1.184, allocations: 0 / 1.128 GB, free: 35.88 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/1.184, allocations: 157.4 kB / 1.128 GB, free: 35.73 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.327e-05/1.184, allocations: 103.7 kB / 1.128 GB, free: 35.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/1.184, allocations: 0 / 1.128 GB, free: 35.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.545e-05/1.184, allocations: 7.375 kB / 1.128 GB, free: 35.62 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/1.184, allocations: 7.375 kB / 1.128 GB, free: 35.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-06/1.184, allocations: 3.344 kB / 1.128 GB, free: 35.61 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001797/1.185, allocations: 196.1 kB / 1.128 GB, free: 35.47 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/1.185, allocations: 0 / 1.128 GB, free: 35.47 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002273/1.185, allocations: 42.81 kB / 1.128 GB, free: 35.43 MB / 0.7448 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) * 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.001117/1.186, allocations: 0.9712 MB / 1.129 GB, free: 34.62 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001616/1.186, allocations: 79.56 kB / 1.129 GB, free: 34.57 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/1.186, allocations: 4.062 kB / 1.129 GB, free: 34.57 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.95e-05/1.186, allocations: 40.8 kB / 1.129 GB, free: 34.54 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/1.186, allocations: 32.17 kB / 1.129 GB, free: 34.52 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005173/1.187, allocations: 292.2 kB / 1.13 GB, free: 34.27 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001549/1.187, allocations: 0.7368 MB / 1.13 GB, free: 33.54 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.257e-05/1.187, allocations: 32 kB / 1.13 GB, free: 33.52 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.223e-05/1.187, allocations: 53.14 kB / 1.131 GB, free: 33.5 MB / 0.7448 GB Notification: Performance of SimCode: time 2.51e-07/1.187, allocations: 0 / 1.131 GB, free: 33.5 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01515/1.203, allocations: 4.068 MB / 1.135 GB, free: 31.14 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001763/1.203, allocations: 195.3 kB / 1.135 GB, free: 30.91 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.727/2.93, allocations: 0 / 1.135 GB, free: 30.91 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu > Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)