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 2.069/2.069, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.001755/0.001755, allocations: 186.9 kB / 377.1 MB, free: 1.535 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.784/1.784, allocations: 205.4 MB / 0.6366 GB, free: 8.543 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.0009389/0.0009388, allocations: 92.3 kB / 0.7509 GB, free: 63.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003708/0.0003708, allocations: 16 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3052, allocations: 116.3 MB / 0.9884 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9275/1.233, allocations: 143 MB / 1.128 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/1.233, allocations: 82.27 kB / 1.128 GB, free: 32.44 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01389/1.247, allocations: 5.417 MB / 1.133 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.985e-06/1.247, allocations: 0 / 1.133 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.483e-05/1.247, allocations: 4 kB / 1.133 GB, free: 28.56 MB / 0.7292 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.0005971/1.248, allocations: 0.4915 MB / 1.134 GB, free: 28.04 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/1.248, allocations: 12.67 kB / 1.134 GB, free: 28.03 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.48e-05/1.248, allocations: 39.97 kB / 1.134 GB, free: 27.98 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.703e-05/1.248, allocations: 21.78 kB / 1.134 GB, free: 27.96 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003489/1.248, allocations: 247.6 kB / 1.134 GB, free: 27.7 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/1.248, allocations: 8 kB / 1.134 GB, free: 27.69 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/1.248, allocations: 10.44 kB / 1.134 GB, free: 27.68 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/1.248, allocations: 91.92 kB / 1.134 GB, free: 27.59 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/1.248, allocations: 0.8125 kB / 1.134 GB, free: 27.59 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/1.248, allocations: 0 / 1.134 GB, free: 27.59 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/1.248, allocations: 4.656 kB / 1.134 GB, free: 27.59 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/1.249, allocations: 38.28 kB / 1.134 GB, free: 27.56 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005348/1.249, allocations: 365.4 kB / 1.135 GB, free: 27.2 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/1.249, allocations: 79.27 kB / 1.135 GB, free: 27.12 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/1.249, allocations: 0 / 1.135 GB, free: 27.12 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/1.25, allocations: 91 kB / 1.135 GB, free: 27.03 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/1.25, allocations: 0.5625 kB / 1.135 GB, free: 27.03 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0003708/1.25, allocations: 222.6 kB / 1.135 GB, free: 26.8 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/1.25, allocations: 85.75 kB / 1.135 GB, free: 26.7 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/1.25, allocations: 236.9 kB / 1.135 GB, free: 26.48 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/1.25, allocations: 30.25 kB / 1.135 GB, free: 26.45 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.72e-05/1.25, allocations: 121 kB / 1.136 GB, free: 26.33 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/1.25, allocations: 29.06 kB / 1.136 GB, free: 26.3 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/1.25, allocations: 4 kB / 1.136 GB, free: 26.3 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.186e-05/1.25, allocations: 332.7 kB / 1.136 GB, free: 25.97 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.325e-05/1.251, allocations: 27.66 kB / 1.136 GB, free: 25.95 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.878e-05/1.251, allocations: 58.98 kB / 1.136 GB, free: 25.89 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.966e-05/1.251, allocations: 35.19 kB / 1.136 GB, free: 25.86 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/1.251, allocations: 4.031 kB / 1.136 GB, free: 25.85 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001869/1.251, allocations: 116.4 kB / 1.136 GB, free: 25.74 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/1.251, allocations: 8 kB / 1.136 GB, free: 25.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/1.251, allocations: 0 / 1.136 GB, free: 25.73 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/1.251, allocations: 0.6094 kB / 1.136 GB, free: 25.73 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.976e-05/1.251, allocations: 14.19 kB / 1.136 GB, free: 25.72 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/1.251, allocations: 4.797 kB / 1.136 GB, free: 25.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.147e-05/1.251, allocations: 8.688 kB / 1.136 GB, free: 25.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/1.251, allocations: 0.7969 kB / 1.136 GB, free: 25.71 MB / 0.7292 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.0001024/1.251, allocations: 150.6 kB / 1.136 GB, free: 25.56 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/1.251, allocations: 17.31 kB / 1.136 GB, free: 25.54 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002482/1.252, allocations: 133.2 kB / 1.136 GB, free: 25.43 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/1.252, allocations: 4.75 kB / 1.136 GB, free: 25.42 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.252, allocations: 0 / 1.136 GB, free: 25.42 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/1.252, allocations: 0.7969 kB / 1.136 GB, free: 25.42 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/1.252, allocations: 236.3 kB / 1.137 GB, free: 25.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/1.252, allocations: 0.6094 kB / 1.137 GB, free: 25.17 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.841e-05/1.252, allocations: 8.75 kB / 1.137 GB, free: 25.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/1.252, allocations: 0.8906 kB / 1.137 GB, free: 25.16 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/1.252, allocations: 5.078 kB / 1.137 GB, free: 25.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/1.252, allocations: 0.5156 kB / 1.137 GB, free: 25.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/1.252, allocations: 0 / 1.137 GB, free: 25.16 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/1.252, allocations: 148.3 kB / 1.137 GB, free: 25.01 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.778e-05/1.252, allocations: 103.7 kB / 1.137 GB, free: 24.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.125e-05/1.252, allocations: 17.16 kB / 1.137 GB, free: 24.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.554e-05/1.252, allocations: 5.406 kB / 1.137 GB, free: 24.87 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/1.252, allocations: 6.766 kB / 1.137 GB, free: 24.87 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/1.252, allocations: 1.688 kB / 1.137 GB, free: 24.87 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001676/1.252, allocations: 194.7 kB / 1.137 GB, free: 24.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.31e-07/1.252, allocations: 0 / 1.137 GB, free: 24.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002561/1.253, allocations: 42.17 kB / 1.137 GB, free: 24.66 MB / 0.7292 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.00129/1.254, allocations: 1.012 MB / 1.138 GB, free: 23.83 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002087/1.254, allocations: 86.33 kB / 1.138 GB, free: 23.76 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.254, allocations: 384 / 1.138 GB, free: 23.76 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.336e-05/1.254, allocations: 44.67 kB / 1.138 GB, free: 23.72 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/1.255, allocations: 43.78 kB / 1.138 GB, free: 23.68 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/1.256, allocations: 1.129 MB / 1.139 GB, free: 22.6 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/1.256, allocations: 0.7306 MB / 1.14 GB, free: 21.86 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.732e-05/1.256, allocations: 23.56 kB / 1.14 GB, free: 21.85 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.627e-05/1.256, allocations: 52.55 kB / 1.14 GB, free: 21.8 MB / 0.7292 GB Notification: Performance of SimCode: time 2.7e-07/1.256, allocations: 0 / 1.14 GB, free: 21.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01756/1.274, allocations: 4.109 MB / 1.144 GB, free: 19.43 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000248/1.274, allocations: 217.7 kB / 1.144 GB, free: 19.19 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/3.104, allocations: 3.938 kB / 1.144 GB, free: 19.19 MB / 0.7292 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)