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.769/1.769, allocations: 288.4 MB / 303.3 MB, free: 8.055 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.000914/0.0009141, allocations: 179 kB / 372 MB, free: 10.21 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.775/1.775, allocations: 205.4 MB / 0.6307 GB, free: 9.957 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.0008522/0.000852, allocations: 98.3 kB / 0.7441 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004674/0.0004674, allocations: 17.12 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2454, allocations: 115.3 MB / 0.9796 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002159/0.2476, allocations: 1.459 MB / 0.9811 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.2489, allocations: 0.8831 MB / 0.9819 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.28e-05/0.249, allocations: 4 kB / 0.9819 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005231/0.2496, allocations: 155.6 kB / 0.9821 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002018/0.2498, allocations: 91.75 kB / 0.9822 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003579/0.2501, allocations: 117.9 kB / 0.9823 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.2503, allocations: 151.6 kB / 0.9824 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.2504, allocations: 21.11 kB / 0.9824 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.864e-05/0.2505, allocations: 59.7 kB / 0.9825 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.123e-05/0.2506, allocations: 63.75 kB / 0.9826 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.2506, allocations: 7.938 kB / 0.9826 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.2507, allocations: 43.91 kB / 0.9826 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.38e-05/0.2508, allocations: 35.91 kB / 0.9826 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.627e-05/0.2509, allocations: 45.64 kB / 0.9827 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.2511, allocations: 148 kB / 0.9828 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.2511, allocations: 4 kB / 0.9828 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2511, allocations: 0 / 0.9828 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.2511, allocations: 0 / 0.9828 GB, free: 24.25 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.0006659/0.2518, allocations: 476.2 kB / 0.9833 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.2518, allocations: 16.02 kB / 0.9833 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.501e-05/0.2519, allocations: 38.53 kB / 0.9833 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.2519, allocations: 23.67 kB / 0.9834 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.2521, allocations: 231.8 kB / 0.9836 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.2522, allocations: 8 kB / 0.9836 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.2522, allocations: 4 kB / 0.9836 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.2524, allocations: 91.3 kB / 0.9837 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.2524, allocations: 3.938 kB / 0.9837 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.2524, allocations: 8 kB / 0.9837 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/0.2524, allocations: 0 / 0.9837 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.294e-05/0.2525, allocations: 35.97 kB / 0.9837 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004166/0.2529, allocations: 356.6 kB / 0.9841 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.2531, allocations: 70.67 kB / 0.9841 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.961e-05/0.2532, allocations: 36.84 kB / 0.9842 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.2532, allocations: 3.984 kB / 0.9842 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001525/0.2534, allocations: 87.31 kB / 0.9843 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/0.2534, allocations: 0 / 0.9843 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0002939/0.2537, allocations: 145.4 kB / 0.9844 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.2537, allocations: 77.11 kB / 0.9845 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/0.254, allocations: 267.7 kB / 0.9847 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.254, allocations: 25.7 kB / 0.9848 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.403e-05/0.254, allocations: 124.1 kB / 0.9849 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.2541, allocations: 27.59 kB / 0.9849 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-06/0.2541, allocations: 4 kB / 0.9849 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.574e-05/0.2541, allocations: 330.8 kB / 0.9852 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.617e-05/0.2542, allocations: 24 kB / 0.9852 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.633e-05/0.2543, allocations: 55.41 kB / 0.9853 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.464e-05/0.2543, allocations: 35.94 kB / 0.9853 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2544, allocations: 4.406 kB / 0.9853 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001655/0.2545, allocations: 117.4 kB / 0.9854 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.2546, allocations: 4 kB / 0.9854 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.2546, allocations: 4 kB / 0.9854 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.2546, allocations: 7.938 kB / 0.9855 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.55e-05/0.2547, allocations: 12 kB / 0.9855 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.2547, allocations: 0 / 0.9855 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.835e-05/0.2547, allocations: 8 kB / 0.9855 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.2548, allocations: 32 / 0.9855 GB, free: 21.29 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.0001067/0.2549, allocations: 153.8 kB / 0.9856 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.998e-05/0.2549, allocations: 11.81 kB / 0.9856 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.039e-05/0.2549, allocations: 17.41 kB / 0.9857 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.255, allocations: 7.953 kB / 0.9857 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.255, allocations: 0 / 0.9857 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.255, allocations: 3.984 kB / 0.9857 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.2551, allocations: 225.5 kB / 0.9859 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.2551, allocations: 0 / 0.9859 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.047e-05/0.2552, allocations: 11.94 kB / 0.9859 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-06/0.2552, allocations: 0 / 0.9859 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.2552, allocations: 4 kB / 0.9859 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2552, allocations: 0 / 0.9859 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2552, allocations: 3.953 kB / 0.9859 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.2554, allocations: 140.9 kB / 0.986 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-05/0.2554, allocations: 92.86 kB / 0.9861 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.2555, allocations: 11.92 kB / 0.9861 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.162e-05/0.2555, allocations: 12 kB / 0.9861 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.436e-05/0.2556, allocations: 0 / 0.9861 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.2556, allocations: 11.94 kB / 0.9862 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000142/0.2557, allocations: 192.4 kB / 0.9863 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2558, allocations: 0 / 0.9863 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002131/0.256, allocations: 31.98 kB / 0.9864 GB, free: 20.28 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.001218/0.2572, allocations: 1.001 MB / 0.9873 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001868/0.2574, allocations: 67.97 kB / 0.9874 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2574, allocations: 0 / 0.9874 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.912e-05/0.2575, allocations: 43.86 kB / 0.9875 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.2578, allocations: 30.62 kB / 0.9875 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.2591, allocations: 0.9844 MB / 0.9884 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.2592, allocations: 0.7278 MB / 0.9892 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.079e-05/0.2593, allocations: 33.33 kB / 0.9892 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.648e-05/0.2594, allocations: 47.42 kB / 0.9892 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of SimCode: time 3.81e-07/0.2594, allocations: 0 / 0.9892 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01543/0.2748, allocations: 3.978 MB / 0.9931 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001736/0.275, allocations: 241.1 kB / 0.9933 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.789/2.064, allocations: 0 / 0.9933 GB, free: 13.29 MB / 0.6198 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)