Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.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.MoistureMixingConservationDynamicBalance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",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.001115/0.001115, allocations: 108.4 kB / 16.41 MB, free: 6.449 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.001055/0.001055, allocations: 191.8 kB / 17.34 MB, free: 5.738 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.252/1.252, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7526/0.7526, allocations: 122.9 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 62.58 kB / 0.568 GB, free: 28.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1388, allocations: 77.93 MB / 0.6441 GB, free: 9.371 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.5307/0.6695, allocations: 222.6 MB / 0.8615 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01615/0.6857, allocations: 12.13 MB / 0.8733 GB, free: 1.121 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002458/0.6882, allocations: 75.56 kB / 0.8734 GB, free: 1.047 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002319/0.6906, allocations: 0.8772 MB / 0.8742 GB, free: 168 kB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007406/0.698, allocations: 2.973 MB / 0.8771 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003906/0.7019, allocations: 1.44 MB / 0.8785 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006004/0.708, allocations: 4.477 MB / 0.8829 GB, free: 7.258 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002527/0.7105, allocations: 1.727 MB / 0.8846 GB, free: 5.492 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006118/0.7167, allocations: 2.551 MB / 0.8871 GB, free: 2.938 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003207/0.7199, allocations: 1.562 MB / 0.8886 GB, free: 1.391 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004816/0.7204, allocations: 180 kB / 0.8888 GB, free: 1.215 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004848/0.7252, allocations: 2.171 MB / 0.8909 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0009102/0.7262, allocations: 0.7051 MB / 0.8916 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001529/0.7277, allocations: 1.05 MB / 0.8926 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005347/0.7331, allocations: 3.332 MB / 0.8959 GB, free: 9.934 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.7331, allocations: 7.938 kB / 0.8959 GB, free: 9.926 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.734e-06/0.7331, allocations: 0 / 0.8959 GB, free: 9.926 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.93e-05/0.7332, allocations: 4 kB / 0.8959 GB, free: 9.922 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.00377/0.737, allocations: 2.332 MB / 0.8982 GB, free: 7.531 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.737, allocations: 12.62 kB / 0.8982 GB, free: 7.52 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002363/0.7373, allocations: 207.7 kB / 0.8984 GB, free: 7.309 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003081/0.7403, allocations: 0.5101 MB / 0.8989 GB, free: 6.797 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002343/0.7427, allocations: 1.35 MB / 0.9002 GB, free: 5.391 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.754e-05/0.7428, allocations: 110.8 kB / 0.9003 GB, free: 5.281 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002163/0.743, allocations: 155.9 kB / 0.9004 GB, free: 5.129 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002562/0.7456, allocations: 1.759 MB / 0.9022 GB, free: 3.262 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.793e-05/0.7456, allocations: 7.938 kB / 0.9022 GB, free: 3.254 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/0.7458, allocations: 60 kB / 0.9022 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.324e-05/0.7459, allocations: 50.55 kB / 0.9023 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002126/0.748, allocations: 1.399 MB / 0.9036 GB, free: 1.738 MB / 0.6544 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.008348/0.7563, allocations: 7.305 MB / 0.9108 GB, free: 10.05 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001522/0.7579, allocations: 1.059 MB / 0.9118 GB, free: 8.945 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009123/0.7588, allocations: 0.6944 MB / 0.9125 GB, free: 8.238 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001966/0.759, allocations: 110.1 kB / 0.9126 GB, free: 8.113 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.7591, allocations: 51.5 kB / 0.9126 GB, free: 8.055 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0011/0.7602, allocations: 314.9 kB / 0.9129 GB, free: 7.746 MB / 0.67 GB Notification: Performance of pre-optimization done (n=106): time 2.996e-06/0.7602, allocations: 0 / 0.9129 GB, free: 7.746 MB / 0.67 GB Notification: Performance of matching and sorting (n=112): time 0.007625/0.7678, allocations: 4.534 MB / 0.9174 GB, free: 3.141 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.382e-05/0.7679, allocations: 171.2 kB / 0.9175 GB, free: 2.938 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/0.7694, allocations: 1.271 MB / 0.9188 GB, free: 1.656 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.7695, allocations: 49.7 kB / 0.9188 GB, free: 1.602 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004817/0.77, allocations: 0.7098 MB / 0.9195 GB, free: 0.8867 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003543/0.7704, allocations: 424.4 kB / 0.9199 GB, free: 480 kB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003576/0.7707, allocations: 263.5 kB / 0.9202 GB, free: 212 kB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.7709, allocations: 362 kB / 0.9205 GB, free: 15.85 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000789/0.7717, allocations: 0.5308 MB / 0.921 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/0.7727, allocations: 0.8518 MB / 0.9219 GB, free: 14.34 MB / 0.6856 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 (sin.p = vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (sin.p = vol1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.011/0.7837, allocations: 4.798 MB / 0.9265 GB, free: 9.391 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/0.7837, allocations: 8 kB / 0.9266 GB, free: 9.383 MB / 0.6856 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002565/0.7863, allocations: 1.616 MB / 0.9281 GB, free: 7.758 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.114e-05/0.7863, allocations: 8 kB / 0.9281 GB, free: 7.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.7864, allocations: 15.92 kB / 0.9282 GB, free: 7.734 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/0.7864, allocations: 16.75 kB / 0.9282 GB, free: 7.719 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/0.7875, allocations: 283.6 kB / 0.9284 GB, free: 7.441 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.579e-05/0.7876, allocations: 27.92 kB / 0.9285 GB, free: 7.414 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/0.7889, allocations: 51.06 kB / 0.9285 GB, free: 7.367 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.881e-05/0.789, allocations: 59.98 kB / 0.9286 GB, free: 7.309 MB / 0.6856 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol2.dynBal.medium.p = vol2.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 (intMasVapOut.local_reset,intEntIn.local_reset,intEntOut.local_reset,intMasFloIn.local_reset,intMasFloOut.local_reset,intMasFloVapIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 169 * 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.0006918/0.7897, allocations: 425.3 kB / 0.929 GB, free: 6.883 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003434/0.7901, allocations: 167 kB / 0.9291 GB, free: 6.719 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002014/0.7921, allocations: 1.291 MB / 0.9304 GB, free: 5.41 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.7921, allocations: 16 kB / 0.9304 GB, free: 5.395 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.7921, allocations: 0 / 0.9304 GB, free: 5.395 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001511/0.7936, allocations: 1.252 MB / 0.9316 GB, free: 4.078 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005558/0.7992, allocations: 3.762 MB / 0.9353 GB, free: 120 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/0.7993, allocations: 8 kB / 0.9353 GB, free: 112 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/0.8004, allocations: 247.6 kB / 0.9356 GB, free: 15.87 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.979e-05/0.8004, allocations: 16.72 kB / 0.9356 GB, free: 15.85 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.119e-05/0.8005, allocations: 39.94 kB / 0.9356 GB, free: 15.81 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.799e-05/0.8005, allocations: 28 kB / 0.9356 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.438e-06/0.8005, allocations: 15.92 kB / 0.9356 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002675/0.8032, allocations: 2.134 MB / 0.9377 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007549/0.804, allocations: 367.9 kB / 0.9381 GB, free: 13.1 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002737/0.8043, allocations: 43.86 kB / 0.9381 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/0.8055, allocations: 54.95 kB / 0.9382 GB, free: 13.01 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.8056, allocations: 104.2 kB / 0.9383 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.152e-05/0.8057, allocations: 51.98 kB / 0.9383 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001158/0.8069, allocations: 0.8529 MB / 0.9392 GB, free: 12 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8069, allocations: 4 kB / 0.9392 GB, free: 12 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001406/0.8083, allocations: 432 kB / 0.9396 GB, free: 11.58 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,intMasFloVapIn.y,intMasFloOut.y,intMasFloIn.y,intEntOut.y,intEntIn.y,intMasVapOut.y) * 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 (115): * Single equations (assignments): 115 * 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.003287/0.8116, allocations: 2.806 MB / 0.9423 GB, free: 8.625 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002007/0.8136, allocations: 1.254 MB / 0.9435 GB, free: 7.371 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.8136, allocations: 0 / 0.9435 GB, free: 7.371 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0007801/0.8144, allocations: 0.5485 MB / 0.9441 GB, free: 6.828 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004272/0.8187, allocations: 0.921 MB / 0.945 GB, free: 5.93 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01791/0.8366, allocations: 12.73 MB / 0.9574 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/0.8378, allocations: 1.38 MB / 0.9588 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00152/0.8393, allocations: 381.3 kB / 0.9591 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009663/0.8403, allocations: 0.6399 MB / 0.9597 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of SimCode: time 1.192e-06/0.8403, allocations: 0 / 0.9597 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07673/0.9171, allocations: 43.24 MB / 1.002 GB, free: 11.32 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.77/16.69, allocations: 15.67 kB / 1.002 GB, free: 11.31 MB / 0.7637 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)