Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",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.198/2.198, allocations: 248.7 MB / 256.2 MB, free: 7.094 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.001508/0.001508, allocations: 182.4 kB / 315.4 MB, free: 4.016 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.981/1.981, allocations: 205.3 MB / 0.5662 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 91.73 kB / 0.6704 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.504e-05/3.525e-05, allocations: 8 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2381, allocations: 106.2 MB / 0.8841 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9642/1.202, allocations: 137.9 MB / 1.019 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/1.203, allocations: 83.89 kB / 1.019 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0576/1.26, allocations: 13.45 MB / 1.032 GB, free: 5.863 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.422e-06/1.26, allocations: 4 kB / 1.032 GB, free: 5.859 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.584e-05/1.26, allocations: 12 kB / 1.032 GB, free: 5.848 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001237/1.262, allocations: 0.6829 MB / 1.033 GB, free: 5.137 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/1.262, allocations: 8.031 kB / 1.033 GB, free: 5.129 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001594/1.262, allocations: 59.25 kB / 1.033 GB, free: 5.07 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009972/1.263, allocations: 418.2 kB / 1.033 GB, free: 4.66 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/1.263, allocations: 7.906 kB / 1.033 GB, free: 4.656 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.235e-05/1.263, allocations: 8 kB / 1.033 GB, free: 4.648 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000247/1.263, allocations: 62.86 kB / 1.033 GB, free: 4.609 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003066/1.264, allocations: 130.4 kB / 1.033 GB, free: 4.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/1.264, allocations: 0 / 1.033 GB, free: 4.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/1.264, allocations: 0 / 1.033 GB, free: 4.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/1.264, allocations: 4 kB / 1.033 GB, free: 4.496 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/1.265, allocations: 0.5726 MB / 1.034 GB, free: 3.992 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002849/1.265, allocations: 112.4 kB / 1.034 GB, free: 3.906 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/1.265, allocations: 46.28 kB / 1.034 GB, free: 3.871 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/1.265, allocations: 0 / 1.034 GB, free: 3.871 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002576/1.266, allocations: 112.6 kB / 1.034 GB, free: 3.77 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 2.064e-06/1.266, allocations: 0 / 1.034 GB, free: 3.77 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.0005111/1.266, allocations: 181.2 kB / 1.034 GB, free: 3.609 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.822e-05/1.266, allocations: 80.73 kB / 1.034 GB, free: 3.516 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/1.267, allocations: 0.5679 MB / 1.035 GB, free: 3.066 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.257e-05/1.267, allocations: 29.7 kB / 1.035 GB, free: 3.031 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002707/1.268, allocations: 266 kB / 1.035 GB, free: 2.895 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.531e-05/1.268, allocations: 34.42 kB / 1.035 GB, free: 2.863 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.947e-05/1.268, allocations: 0 / 1.035 GB, free: 2.863 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002113/1.268, allocations: 373 kB / 1.036 GB, free: 2.516 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/1.268, allocations: 75.11 kB / 1.036 GB, free: 2.469 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/1.268, allocations: 124.9 kB / 1.036 GB, free: 2.363 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002104/1.269, allocations: 76.97 kB / 1.036 GB, free: 2.312 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.269, allocations: 4 kB / 1.036 GB, free: 2.309 MB / 0.6511 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006187/1.269, allocations: 255.6 kB / 1.036 GB, free: 2.102 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/1.269, allocations: 8 kB / 1.036 GB, free: 2.094 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/1.269, allocations: 7.953 kB / 1.036 GB, free: 2.086 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/1.269, allocations: 0 / 1.036 GB, free: 2.086 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/1.27, allocations: 39.67 kB / 1.036 GB, free: 2.051 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/1.27, allocations: 4 kB / 1.036 GB, free: 2.047 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003229/1.27, allocations: 27.89 kB / 1.036 GB, free: 2.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-05/1.27, allocations: 11.98 kB / 1.036 GB, free: 2.008 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.mWat_flow.tab.nextTimeEvent,assWatMas.runSig,assWatMas.assMes.u,$PRE.assWatMas.hys.y,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.000139/1.27, allocations: 114.5 kB / 1.036 GB, free: 1.895 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000409/1.271, allocations: 180.1 kB / 1.037 GB, free: 1.738 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/1.271, allocations: 63.08 kB / 1.037 GB, free: 1.68 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000551/1.271, allocations: 201.6 kB / 1.037 GB, free: 1.516 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/1.271, allocations: 3.984 kB / 1.037 GB, free: 1.512 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/1.271, allocations: 4 kB / 1.037 GB, free: 1.508 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/1.271, allocations: 0 / 1.037 GB, free: 1.508 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005069/1.272, allocations: 349.5 kB / 1.037 GB, free: 1.195 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/1.272, allocations: 0 / 1.037 GB, free: 1.195 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.728e-05/1.272, allocations: 19.86 kB / 1.037 GB, free: 1.18 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/1.272, allocations: 0 / 1.037 GB, free: 1.18 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/1.272, allocations: 7.953 kB / 1.037 GB, free: 1.172 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/1.272, allocations: 0 / 1.037 GB, free: 1.172 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.272, allocations: 3.938 kB / 1.037 GB, free: 1.168 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005128/1.273, allocations: 227.4 kB / 1.037 GB, free: 0.957 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001904/1.273, allocations: 132.1 kB / 1.038 GB, free: 0.8125 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.116e-05/1.273, allocations: 3.562 kB / 1.038 GB, free: 0.8125 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/1.273, allocations: 15.94 kB / 1.038 GB, free: 0.7969 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.007e-05/1.273, allocations: 19.47 kB / 1.038 GB, free: 0.7812 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/1.273, allocations: 4 kB / 1.038 GB, free: 0.7773 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0007396/1.274, allocations: 433.3 kB / 1.038 GB, free: 468 kB / 0.6511 GB Notification: Performance of sort global known variables: time 4.5e-07/1.274, allocations: 4 kB / 1.038 GB, free: 464 kB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005422/1.275, allocations: 67.92 kB / 1.038 GB, free: 396 kB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,assWatMas.runSig,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001977/1.277, allocations: 1.039 MB / 1.039 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004734/1.277, allocations: 146.8 kB / 1.039 GB, free: 15.35 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/1.277, allocations: 3.938 kB / 1.039 GB, free: 15.34 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/1.277, allocations: 58.5 kB / 1.039 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007413/1.278, allocations: 88.64 kB / 1.039 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/1.28, allocations: 0.7042 MB / 1.04 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006528/1.281, allocations: 0.8751 MB / 1.041 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002881/1.281, allocations: 50.03 kB / 1.041 GB, free: 13.63 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003022/1.281, allocations: 164.6 kB / 1.041 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of SimCode: time 1.373e-06/1.281, allocations: 0 / 1.041 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06362/1.345, allocations: 8.929 MB / 1.05 GB, free: 4.691 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003161/1.345, allocations: 175.3 kB / 1.05 GB, free: 4.504 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.592/3.937, allocations: 7.969 kB / 1.05 GB, free: 4.496 MB / 0.6667 GB