Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.997/1.997, allocations: 387.1 MB / 399.7 MB, free: 9.395 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 183.9 kB / 492.3 MB, free: 0.5898 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 221.3 MB / 0.7871 GB, free: 12.85 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000804/0.000804, allocations: 101.8 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.524e-05/2.526e-05, allocations: 4 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2112, allocations: 142.3 MB / 1.212 GB, free: 38.38 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7091/0.9204, allocations: 153.6 MB / 1.363 GB, free: 19.01 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001978/0.9207, allocations: 75.78 kB / 1.363 GB, free: 19.01 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01281/0.9335, allocations: 5.553 MB / 1.368 GB, free: 34.41 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9335, allocations: 0 / 1.368 GB, free: 34.41 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.285e-05/0.9336, allocations: 7.969 kB / 1.368 GB, free: 34.41 MB / 0.8386 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.0003798/0.9339, allocations: 461.5 kB / 1.368 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.934, allocations: 11.69 kB / 1.368 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.192e-05/0.934, allocations: 33.52 kB / 1.368 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.858e-05/0.9341, allocations: 15.53 kB / 1.369 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.9343, allocations: 255.1 kB / 1.369 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.9344, allocations: 3.844 kB / 1.369 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.9344, allocations: 15.72 kB / 1.369 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.9345, allocations: 86.27 kB / 1.369 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.483e-06/0.9345, allocations: 0 / 1.369 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.9346, allocations: 3.844 kB / 1.369 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.9346, allocations: 0 / 1.369 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.446e-05/0.9346, allocations: 38.95 kB / 1.369 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000402/0.9351, allocations: 368.9 kB / 1.369 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.9352, allocations: 77.05 kB / 1.369 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.083e-05/0.9352, allocations: 33.95 kB / 1.369 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.9352, allocations: 4.031 kB / 1.369 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.256e-05/0.9353, allocations: 75.77 kB / 1.369 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.9354, allocations: 4 kB / 1.369 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0001859/0.9355, allocations: 119.5 kB / 1.37 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/0.9356, allocations: 80.92 kB / 1.37 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.9358, allocations: 240.4 kB / 1.37 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.9358, allocations: 29.39 kB / 1.37 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.069e-05/0.9359, allocations: 118.3 kB / 1.37 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.9359, allocations: 25.59 kB / 1.37 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.9359, allocations: 0 / 1.37 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.579e-05/0.936, allocations: 332.1 kB / 1.37 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.748e-05/0.936, allocations: 25.16 kB / 1.37 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.112e-05/0.9361, allocations: 62.19 kB / 1.37 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.414e-05/0.9361, allocations: 36.72 kB / 1.37 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.9361, allocations: 3.906 kB / 1.37 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001288/0.9363, allocations: 113.2 kB / 1.371 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.9363, allocations: 12.84 kB / 1.371 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.9363, allocations: 0 / 1.371 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.9363, allocations: 0 / 1.371 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.642e-05/0.9364, allocations: 13.56 kB / 1.371 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.9364, allocations: 3.953 kB / 1.371 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.678e-05/0.9365, allocations: 6.875 kB / 1.371 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.9365, allocations: 3.688 kB / 1.371 GB, free: 32.5 MB / 0.8386 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.727e-05/0.9365, allocations: 111.9 kB / 1.371 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.192e-05/0.9366, allocations: 22.94 kB / 1.371 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001711/0.9368, allocations: 121 kB / 1.371 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.9368, allocations: 3.844 kB / 1.371 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.9368, allocations: 0 / 1.371 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.9368, allocations: 3.953 kB / 1.371 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.9369, allocations: 235 kB / 1.371 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.9369, allocations: 4 kB / 1.371 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.58e-05/0.937, allocations: 10.62 kB / 1.371 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.937, allocations: 0 / 1.371 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.934e-06/0.937, allocations: 0 / 1.371 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.937, allocations: 7.906 kB / 1.371 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.937, allocations: 80 / 1.371 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.9371, allocations: 156.7 kB / 1.371 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-05/0.9372, allocations: 106.2 kB / 1.371 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.9372, allocations: 0 / 1.371 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.207e-05/0.9373, allocations: 3.875 kB / 1.371 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.214e-05/0.9373, allocations: 6.719 kB / 1.371 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.9373, allocations: 7.188 kB / 1.371 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000136/0.9375, allocations: 197 kB / 1.372 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9375, allocations: 0 / 1.372 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002054/0.9377, allocations: 49.88 kB / 1.372 GB, free: 31.86 MB / 0.8386 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.001004/0.9387, allocations: 0.9659 MB / 1.373 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001358/0.9389, allocations: 75.19 kB / 1.373 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.9389, allocations: 0 / 1.373 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.226e-05/0.9389, allocations: 39.66 kB / 1.373 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.9391, allocations: 32.53 kB / 1.373 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004476/0.9396, allocations: 297.4 kB / 1.373 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.9398, allocations: 0.7333 MB / 1.374 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.461e-05/0.9399, allocations: 21.69 kB / 1.374 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.542e-05/0.94, allocations: 51.17 kB / 1.374 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/0.94, allocations: 3.938 kB / 1.374 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01317/0.9532, allocations: 4.075 MB / 1.378 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000135/0.9533, allocations: 189.4 kB / 1.378 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.534/2.487, allocations: 0 / 1.378 GB, free: 29.64 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu > Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat does not exist to compare? outputFormat=mat