Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 106.7 kB / 16.4 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 195.8 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.24/1.24, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6688/0.6688, allocations: 115.3 MB / 406.5 MB, free: 6.227 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 67.45 kB / 0.5572 GB, free: 32.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1484, allocations: 76.18 MB / 0.6316 GB, free: 4.922 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.5021/0.6506, allocations: 170.8 MB / 0.7983 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004692/0.6553, allocations: 3.383 MB / 0.8016 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006272/0.6559, allocations: 27.19 kB / 0.8017 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008053/0.6568, allocations: 308.1 kB / 0.802 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002117/0.659, allocations: 1.023 MB / 0.803 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.6603, allocations: 0.6616 MB / 0.8036 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001359/0.6617, allocations: 1.532 MB / 0.8051 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005591/0.6623, allocations: 478.6 kB / 0.8056 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007585/0.663, allocations: 0.5773 MB / 0.8061 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000859/0.6639, allocations: 466.5 kB / 0.8066 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.532e-05/0.664, allocations: 55.38 kB / 0.8066 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/0.6654, allocations: 0.8385 MB / 0.8074 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002259/0.6657, allocations: 238.7 kB / 0.8077 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003714/0.666, allocations: 335.6 kB / 0.808 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001629/0.6677, allocations: 1.129 MB / 0.8091 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.6677, allocations: 0 / 0.8091 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6677, allocations: 4 kB / 0.8091 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.052e-05/0.6677, allocations: 2.094 kB / 0.8091 GB, free: 10.46 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001785/0.6695, allocations: 0.9107 MB / 0.81 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.6696, allocations: 10.09 kB / 0.81 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001212/0.6697, allocations: 85.14 kB / 0.8101 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001282/0.671, allocations: 176.5 kB / 0.8102 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000863/0.6719, allocations: 0.5291 MB / 0.8108 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/0.6719, allocations: 30 kB / 0.8108 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.293e-05/0.672, allocations: 48.34 kB / 0.8108 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007394/0.6727, allocations: 473 kB / 0.8113 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.6728, allocations: 0 / 0.8113 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.601e-05/0.6728, allocations: 16.75 kB / 0.8113 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.323e-05/0.6728, allocations: 15.66 kB / 0.8113 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005928/0.6734, allocations: 415.4 kB / 0.8117 GB, free: 9.129 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002626/0.6761, allocations: 1.732 MB / 0.8134 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004805/0.6766, allocations: 291.3 kB / 0.8137 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002634/0.6768, allocations: 183.7 kB / 0.8139 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001781/0.677, allocations: 95.53 kB / 0.814 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.6771, allocations: 48.97 kB / 0.814 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 3.276e-06/0.6771, allocations: 0 / 0.814 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002083/0.6792, allocations: 1.049 MB / 0.815 GB, free: 6.875 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.6792, allocations: 56.34 kB / 0.8151 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000495/0.6797, allocations: 461.5 kB / 0.8155 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.11e-05/0.6798, allocations: 36.48 kB / 0.8156 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.68, allocations: 253.9 kB / 0.8158 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.6801, allocations: 116.4 kB / 0.8159 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.6802, allocations: 69.42 kB / 0.816 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.6803, allocations: 359.1 kB / 0.8163 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/0.6805, allocations: 124 kB / 0.8164 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002462/0.6808, allocations: 202.5 kB / 0.8166 GB, free: 5.578 MB / 0.5919 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001894/0.6827, allocations: 0.8668 MB / 0.8175 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.6827, allocations: 0 / 0.8175 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006577/0.6834, allocations: 416.9 kB / 0.8179 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.6834, allocations: 5.781 kB / 0.8179 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.6834, allocations: 2.344 kB / 0.8179 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.6834, allocations: 6.391 kB / 0.8179 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002979/0.6837, allocations: 75.09 kB / 0.818 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.6837, allocations: 6.969 kB / 0.818 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003999/0.6841, allocations: 15.34 kB / 0.818 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.6e-05/0.6842, allocations: 14.12 kB / 0.818 GB, free: 4.793 MB / 0.5919 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002634/0.6845, allocations: 208 kB / 0.8182 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.6846, allocations: 54.84 kB / 0.8182 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.6847, allocations: 57.27 kB / 0.8183 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.6847, allocations: 5.281 kB / 0.8183 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.6847, allocations: 0.75 kB / 0.8183 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004782/0.6852, allocations: 413.8 kB / 0.8187 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001751/0.687, allocations: 1.239 MB / 0.8199 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.687, allocations: 2.844 kB / 0.8199 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003316/0.6873, allocations: 74.56 kB / 0.82 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.257e-06/0.6873, allocations: 9.875 kB / 0.82 GB, free: 3.289 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.149e-05/0.6874, allocations: 11.5 kB / 0.82 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-06/0.6874, allocations: 12.61 kB / 0.82 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.6874, allocations: 5.375 kB / 0.82 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008714/0.6883, allocations: 0.715 MB / 0.8207 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002403/0.6885, allocations: 164.8 kB / 0.8209 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.779e-05/0.6886, allocations: 15.23 kB / 0.8209 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004195/0.689, allocations: 15.09 kB / 0.8209 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-05/0.6891, allocations: 35.31 kB / 0.8209 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-05/0.6892, allocations: 20.14 kB / 0.821 GB, free: 2.555 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003437/0.6895, allocations: 335.3 kB / 0.8213 GB, free: 2.352 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6895, allocations: 0 / 0.8213 GB, free: 2.352 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005437/0.6901, allocations: 140.6 kB / 0.8214 GB, free: 2.34 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001345/0.6914, allocations: 1.314 MB / 0.8227 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005127/0.6919, allocations: 331.6 kB / 0.823 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.692, allocations: 0 / 0.823 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002044/0.6922, allocations: 157.2 kB / 0.8232 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/0.6937, allocations: 365.8 kB / 0.8235 GB, free: 0.8438 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005258/0.699, allocations: 4.394 MB / 0.8278 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004586/0.6995, allocations: 0.8849 MB / 0.8287 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004416/0.6999, allocations: 136.5 kB / 0.8288 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002452/0.7002, allocations: 167.2 kB / 0.829 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of SimCode: time 5.01e-07/0.7002, allocations: 0 / 0.829 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03835/0.7385, allocations: 15.71 MB / 0.8443 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.099/8.838, allocations: 12.38 kB / 0.8443 GB, free: 0.5078 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)