Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_7_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.116/2.116, allocations: 251 MB / 265.9 MB, free: 11.7 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001478/0.001478, allocations: 182.5 kB / 325.5 MB, free: 2.91 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.249/2.249, allocations: 205.4 MB / 0.5764 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001201/0.0012, allocations: 101.1 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005235/0.0005232, allocations: 11.97 kB / 0.7951 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2222, allocations: 106.3 MB / 0.8988 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2244/0.4466, allocations: 132.4 MB / 1.028 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003273/0.447, allocations: 87.92 kB / 1.028 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008359/0.4554, allocations: 1.814 MB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.354e-06/0.4554, allocations: 0 / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.662e-05/0.4554, allocations: 4 kB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001018/0.4565, allocations: 438.9 kB / 1.03 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.4565, allocations: 12.03 kB / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.091e-05/0.4566, allocations: 38.55 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.952e-05/0.4567, allocations: 19.77 kB / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.4568, allocations: 175 kB / 1.031 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.4569, allocations: 11.98 kB / 1.031 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.4569, allocations: 4 kB / 1.031 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000316/0.4572, allocations: 93.59 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.4573, allocations: 0 / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.4573, allocations: 11.95 kB / 1.031 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.4573, allocations: 0 / 1.031 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003214/0.4576, allocations: 79.89 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.4587, allocations: 416.4 kB / 1.031 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002343/0.459, allocations: 62.56 kB / 1.031 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.459, allocations: 0 / 1.031 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.4591, allocations: 30.56 kB / 1.031 GB, free: 9.453 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 1.533e-06/0.4591, allocations: 3.938 kB / 1.031 GB, free: 9.449 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5): time 0.0005838/0.4597, allocations: 129.7 kB / 1.031 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.4597, allocations: 51.41 kB / 1.031 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.4599, allocations: 137.5 kB / 1.032 GB, free: 9.109 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.4599, allocations: 29.7 kB / 1.032 GB, free: 9.074 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.78e-05/0.46, allocations: 108.1 kB / 1.032 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.293e-05/0.4601, allocations: 19.8 kB / 1.032 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.053e-05/0.4601, allocations: 4 kB / 1.032 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.4602, allocations: 318.8 kB / 1.032 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.4604, allocations: 36.19 kB / 1.032 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.4606, allocations: 35.97 kB / 1.032 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.4607, allocations: 32.08 kB / 1.032 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.4607, allocations: 0 / 1.032 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003865/0.4611, allocations: 105.5 kB / 1.032 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.4612, allocations: 8 kB / 1.032 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.4612, allocations: 0 / 1.032 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.4612, allocations: 0 / 1.032 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.4614, allocations: 15.98 kB / 1.032 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.4614, allocations: 0 / 1.032 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003085/0.4617, allocations: 31.97 kB / 1.032 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.4617, allocations: 4 kB / 1.032 GB, free: 8.352 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * 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.0001233/0.4619, allocations: 122.5 kB / 1.032 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.336e-05/0.4619, allocations: 7.906 kB / 1.032 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.631e-05/0.462, allocations: 24.23 kB / 1.032 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.462, allocations: 3.938 kB / 1.032 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.462, allocations: 0 / 1.032 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.462, allocations: 0 / 1.032 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002794/0.4623, allocations: 205.5 kB / 1.033 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.4623, allocations: 256 / 1.033 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.4625, allocations: 19.98 kB / 1.033 GB, free: 7.914 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.4625, allocations: 0 / 1.033 GB, free: 7.914 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.4625, allocations: 4 kB / 1.033 GB, free: 7.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.4625, allocations: 0 / 1.033 GB, free: 7.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.4625, allocations: 0 / 1.033 GB, free: 7.91 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004052/0.4629, allocations: 192.3 kB / 1.033 GB, free: 7.707 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.836e-05/0.463, allocations: 88.97 kB / 1.033 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.463, allocations: 0 / 1.033 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003389/0.4634, allocations: 27.97 kB / 1.033 GB, free: 7.574 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.132e-05/0.4635, allocations: 23.97 kB / 1.033 GB, free: 7.551 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.4635, allocations: 3.938 kB / 1.033 GB, free: 7.547 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000115/0.4636, allocations: 115.2 kB / 1.033 GB, free: 7.434 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.11e-07/0.4637, allocations: 0 / 1.033 GB, free: 7.434 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003074/0.464, allocations: 12 kB / 1.033 GB, free: 7.422 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0007347/0.4647, allocations: 0.7241 MB / 1.034 GB, free: 6.668 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003679/0.4651, allocations: 75.89 kB / 1.034 GB, free: 6.594 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.4651, allocations: 8 kB / 1.034 GB, free: 6.586 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.4653, allocations: 35.98 kB / 1.034 GB, free: 6.551 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.4656, allocations: 11.92 kB / 1.034 GB, free: 6.539 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.4673, allocations: 0.7076 MB / 1.035 GB, free: 5.785 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.4676, allocations: 0.6965 MB / 1.035 GB, free: 5.062 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001034/0.4677, allocations: 7.984 kB / 1.035 GB, free: 5.055 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.4678, allocations: 35.48 kB / 1.035 GB, free: 5.02 MB / 0.6823 GB Notification: Performance of SimCode: time 9.61e-07/0.4678, allocations: 0 / 1.035 GB, free: 5.02 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02226/0.4901, allocations: 2.244 MB / 1.038 GB, free: 2.949 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003466/0.4905, allocations: 205.3 kB / 1.038 GB, free: 2.703 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.257/2.748, allocations: 4 kB / 1.038 GB, free: 2.699 MB / 0.6823 GB