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.00154/0.00154, allocations: 104 kB / 16.4 MB, free: 6.496 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.001631/0.001631, allocations: 197.2 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.283/1.283, 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.6903/0.6903, allocations: 115.3 MB / 406.5 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 71.89 kB / 0.5572 GB, free: 32.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1347, allocations: 76.17 MB / 0.6316 GB, free: 4.91 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.5182/0.6529, allocations: 170.8 MB / 0.7983 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004838/0.6578, allocations: 3.388 MB / 0.8017 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009301/0.6587, allocations: 21.25 kB / 0.8017 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009431/0.6598, allocations: 310.9 kB / 0.802 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002466/0.6623, allocations: 1.017 MB / 0.803 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.6638, allocations: 0.6731 MB / 0.8036 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001723/0.6655, allocations: 1.532 MB / 0.8051 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005446/0.6661, allocations: 478.5 kB / 0.8056 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007453/0.6669, allocations: 0.5679 MB / 0.8061 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008344/0.6677, allocations: 469.9 kB / 0.8066 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.181e-05/0.6678, allocations: 55 kB / 0.8066 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001323/0.6691, allocations: 0.8343 MB / 0.8074 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000209/0.6693, allocations: 249.2 kB / 0.8077 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000288/0.6696, allocations: 331.6 kB / 0.808 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001264/0.6709, allocations: 1.129 MB / 0.8091 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.6709, allocations: 0 / 0.8091 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6709, allocations: 0 / 0.8091 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.6709, allocations: 0 / 0.8091 GB, free: 10.5 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.001251/0.6722, allocations: 0.914 MB / 0.81 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.6722, allocations: 10.12 kB / 0.81 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.775e-05/0.6723, allocations: 86.8 kB / 0.8101 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/0.6734, allocations: 176 kB / 0.8103 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000758/0.6742, allocations: 0.5251 MB / 0.8108 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.6742, allocations: 36.55 kB / 0.8108 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.262e-05/0.6743, allocations: 45.3 kB / 0.8108 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006545/0.675, allocations: 473.4 kB / 0.8113 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.675, allocations: 7.188 kB / 0.8113 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.133e-05/0.675, allocations: 16.5 kB / 0.8113 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.207e-05/0.6751, allocations: 15.53 kB / 0.8113 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005249/0.6756, allocations: 413.2 kB / 0.8117 GB, free: 9.156 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.002207/0.6778, allocations: 1.723 MB / 0.8134 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004149/0.6782, allocations: 299.2 kB / 0.8137 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.6785, allocations: 188.1 kB / 0.8139 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001536/0.6786, allocations: 93.38 kB / 0.814 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.6787, allocations: 47.34 kB / 0.814 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 1.503e-06/0.6787, allocations: 0 / 0.814 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001734/0.6804, allocations: 1.045 MB / 0.815 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.6805, allocations: 56.44 kB / 0.8151 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004386/0.6809, allocations: 462.3 kB / 0.8155 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/0.6809, allocations: 32.52 kB / 0.8156 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.6811, allocations: 251.9 kB / 0.8158 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.738e-05/0.6812, allocations: 120 kB / 0.8159 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.6813, allocations: 73.5 kB / 0.816 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.6815, allocations: 351 kB / 0.8163 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/0.6817, allocations: 133 kB / 0.8164 GB, free: 5.742 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.6819, allocations: 198.5 kB / 0.8166 GB, free: 5.605 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.001727/0.6836, allocations: 0.8617 MB / 0.8175 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.6837, allocations: 0 / 0.8175 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005477/0.6842, allocations: 418.4 kB / 0.8179 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.6842, allocations: 4.969 kB / 0.8179 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.6843, allocations: 2.594 kB / 0.8179 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.6843, allocations: 1.875 kB / 0.8179 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002705/0.6845, allocations: 75.84 kB / 0.818 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.6846, allocations: 4.688 kB / 0.818 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003463/0.6849, allocations: 14.83 kB / 0.818 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.333e-05/0.685, allocations: 20.75 kB / 0.818 GB, free: 4.824 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.0002745/0.6853, allocations: 210.9 kB / 0.8182 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.462e-05/0.6854, allocations: 52.5 kB / 0.8182 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.6855, allocations: 61.59 kB / 0.8183 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.6855, allocations: 4.719 kB / 0.8183 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.6855, allocations: 0 / 0.8183 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000437/0.6859, allocations: 405.8 kB / 0.8187 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001623/0.6876, allocations: 1.247 MB / 0.8199 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.6876, allocations: 2.531 kB / 0.8199 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003064/0.6879, allocations: 78.16 kB / 0.82 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.6879, allocations: 5.469 kB / 0.82 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/0.6879, allocations: 11.72 kB / 0.82 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.688, allocations: 9.688 kB / 0.82 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.688, allocations: 9.688 kB / 0.82 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00077/0.6887, allocations: 0.7109 MB / 0.8207 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002227/0.689, allocations: 169.5 kB / 0.8209 GB, free: 2.621 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.809e-05/0.689, allocations: 9.281 kB / 0.8209 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003797/0.6894, allocations: 19.08 kB / 0.8209 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.6895, allocations: 28.12 kB / 0.8209 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.995e-05/0.6895, allocations: 27.23 kB / 0.821 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003151/0.6898, allocations: 329 kB / 0.8213 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6899, allocations: 3.938 kB / 0.8213 GB, free: 2.379 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000485/0.6903, allocations: 138.7 kB / 0.8214 GB, free: 2.371 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.001271/0.6916, allocations: 1.312 MB / 0.8227 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004911/0.6921, allocations: 335.6 kB / 0.823 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.6921, allocations: 0 / 0.823 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001959/0.6923, allocations: 160.1 kB / 0.8232 GB, free: 1.059 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/0.694, allocations: 362 kB / 0.8235 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005023/0.699, allocations: 4.398 MB / 0.8278 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004335/0.6994, allocations: 0.8851 MB / 0.8287 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004124/0.6999, allocations: 132.3 kB / 0.8288 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002312/0.7001, allocations: 166.7 kB / 0.8289 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of SimCode: time 7.81e-07/0.7001, allocations: 0 / 0.8289 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03998/0.7401, allocations: 15.72 MB / 0.8443 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.446/9.186, allocations: 8.453 kB / 0.8443 GB, free: 0.5352 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)