Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.441/1.441, allocations: 249.5 MB / 257 MB, free: 6.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009979/0.000998, allocations: 176.8 kB / 316.3 MB, free: 3.316 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.702/1.702, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0009404/0.0009404, allocations: 86.47 kB / 0.6714 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.414e-05/2.415e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1952, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6692/0.8645, allocations: 131.6 MB / 1.014 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001675/0.8647, allocations: 68.34 kB / 1.014 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002122/0.8668, allocations: 0.8272 MB / 1.015 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8669, allocations: 0 / 1.015 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.8669, allocations: 0 / 1.015 GB, free: 4.992 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004577/0.8673, allocations: 362.2 kB / 1.015 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.8674, allocations: 8.031 kB / 1.015 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.417e-05/0.8674, allocations: 11.22 kB / 1.015 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.8676, allocations: 175 kB / 1.015 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.8676, allocations: 4 kB / 1.015 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.8676, allocations: 0 / 1.015 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.582e-05/0.8677, allocations: 18.5 kB / 1.015 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.455e-05/0.8678, allocations: 41.62 kB / 1.015 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.8678, allocations: 3.984 kB / 1.015 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.405e-06/0.8678, allocations: 3.938 kB / 1.015 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.8678, allocations: 0 / 1.015 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004487/0.8683, allocations: 283.1 kB / 1.016 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.375e-05/0.8683, allocations: 36.06 kB / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.916e-05/0.8684, allocations: 15.11 kB / 1.016 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.8684, allocations: 0 / 1.016 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.8684, allocations: 38.56 kB / 1.016 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.894e-06/0.8685, allocations: 0 / 1.016 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.000157/0.8686, allocations: 57.8 kB / 1.016 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.8687, allocations: 51.41 kB / 1.016 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.598e-05/0.8687, allocations: 96.38 kB / 1.016 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.8687, allocations: 25.7 kB / 1.016 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.878e-05/0.8688, allocations: 83.33 kB / 1.016 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/0.8688, allocations: 15.14 kB / 1.016 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-06/0.8688, allocations: 4 kB / 1.016 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.8689, allocations: 314.8 kB / 1.016 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.185e-05/0.869, allocations: 6.812 kB / 1.016 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.741e-05/0.869, allocations: 7.938 kB / 1.016 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.061e-05/0.869, allocations: 11.94 kB / 1.016 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.869, allocations: 0 / 1.016 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.603e-05/0.8691, allocations: 53.03 kB / 1.016 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.8691, allocations: 4 kB / 1.016 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.8691, allocations: 0 / 1.016 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.8692, allocations: 7.938 kB / 1.016 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.8693, allocations: 23.97 kB / 1.016 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.187e-06/0.8693, allocations: 4 kB / 1.016 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.565e-05/0.8694, allocations: 17.67 kB / 1.016 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.8694, allocations: 0 / 1.016 GB, free: 3.125 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 7.641e-05/0.8695, allocations: 108.9 kB / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.758e-05/0.8696, allocations: 53.44 kB / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/0.8697, allocations: 3.906 kB / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001194/0.8698, allocations: 57.22 kB / 1.017 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.8698, allocations: 0 / 1.017 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.8698, allocations: 7.938 kB / 1.017 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.8698, allocations: 3.984 kB / 1.017 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.87, allocations: 145.5 kB / 1.017 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.87, allocations: 3.938 kB / 1.017 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.8701, allocations: 23.98 kB / 1.017 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.8701, allocations: 0 / 1.017 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.8701, allocations: 5.125 kB / 1.017 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.8701, allocations: 0 / 1.017 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.8701, allocations: 288 / 1.017 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.8703, allocations: 151.2 kB / 1.017 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.463e-05/0.8703, allocations: 81.02 kB / 1.017 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.8703, allocations: 7.984 kB / 1.017 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.8705, allocations: 15.98 kB / 1.017 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.652e-05/0.8705, allocations: 3.938 kB / 1.017 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.8705, allocations: 4 kB / 1.017 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.711e-05/0.8706, allocations: 86.95 kB / 1.017 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8706, allocations: 0 / 1.017 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002024/0.8708, allocations: 11.94 kB / 1.017 GB, free: 2.301 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0003912/0.8712, allocations: 0.6833 MB / 1.018 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.114e-05/0.8713, allocations: 19.69 kB / 1.018 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.8713, allocations: 4 kB / 1.018 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.052e-05/0.8713, allocations: 15.81 kB / 1.018 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.8715, allocations: 8.766 kB / 1.018 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003233/0.8718, allocations: 97.33 kB / 1.018 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.8721, allocations: 0.6846 MB / 1.019 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.03e-05/0.8721, allocations: 4 kB / 1.019 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.897e-05/0.8722, allocations: 11.31 kB / 1.019 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/0.8722, allocations: 3.938 kB / 1.019 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01798/0.8902, allocations: 0.9683 MB / 1.02 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002309/0.8904, allocations: 157.4 kB / 1.02 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.375/2.265, allocations: 0 / 1.02 GB, free: 15.58 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Min.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1)