Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",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.001255/0.001255, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.349/1.349, allocations: 222.9 MB / 240.2 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002479/0.002479, allocations: 282.6 kB / 290.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.028/1.028, allocations: 178.6 MB / 0.5073 GB, free: 4.594 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002654/0.002654, allocations: 96.41 kB / 0.6065 GB, free: 24.63 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1473, allocations: 89.14 MB / 0.6936 GB, free: 4.242 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.4799/0.6272, allocations: 221.1 MB / 0.9095 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008976/0.6362, allocations: 5.727 MB / 0.9151 GB, free: 8.594 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008445/0.6371, allocations: 43.75 kB / 0.9151 GB, free: 8.551 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001357/0.6385, allocations: 0.5708 MB / 0.9157 GB, free: 7.977 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003348/0.6419, allocations: 1.629 MB / 0.9173 GB, free: 6.34 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002942/0.6448, allocations: 1.213 MB / 0.9185 GB, free: 5.141 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003068/0.6479, allocations: 2.562 MB / 0.921 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001184/0.6491, allocations: 0.9086 MB / 0.9219 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001714/0.6508, allocations: 1.055 MB / 0.9229 GB, free: 0.5938 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001647/0.6525, allocations: 0.8366 MB / 0.9237 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001594/0.6527, allocations: 100 kB / 0.9238 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00272/0.6554, allocations: 1.536 MB / 0.9253 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004209/0.6558, allocations: 410.9 kB / 0.9257 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006654/0.6565, allocations: 0.5911 MB / 0.9263 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002538/0.659, allocations: 1.991 MB / 0.9282 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.6591, allocations: 0 / 0.9282 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.273e-06/0.6591, allocations: 0 / 0.9282 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.655e-05/0.6591, allocations: 4 kB / 0.9282 GB, free: 11.14 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.002247/0.6613, allocations: 1.43 MB / 0.9296 GB, free: 9.656 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.449e-05/0.6614, allocations: 8.031 kB / 0.9296 GB, free: 9.648 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001591/0.6615, allocations: 124.6 kB / 0.9297 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002609/0.6642, allocations: 422.2 kB / 0.9301 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/0.6655, allocations: 0.7726 MB / 0.9309 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003597/0.6659, allocations: 109.9 kB / 0.931 GB, free: 8.184 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.666, allocations: 72 kB / 0.9311 GB, free: 8.113 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001905/0.6679, allocations: 1.006 MB / 0.9321 GB, free: 7.086 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.6679, allocations: 0 / 0.9321 GB, free: 7.086 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.922e-05/0.668, allocations: 32 kB / 0.9321 GB, free: 7.055 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.726e-05/0.6681, allocations: 29.94 kB / 0.9321 GB, free: 7.027 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00207/0.6701, allocations: 0.8939 MB / 0.933 GB, free: 6.133 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.005818/0.676, allocations: 3.513 MB / 0.9364 GB, free: 2.434 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001737/0.6777, allocations: 0.6164 MB / 0.937 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008394/0.6786, allocations: 342 kB / 0.9373 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001834/0.6788, allocations: 109 kB / 0.9374 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.6788, allocations: 42.55 kB / 0.9375 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=39): time 1.784e-06/0.6788, allocations: 0 / 0.9375 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of matching and sorting (n=41): time 0.005121/0.6839, allocations: 1.916 MB / 0.9394 GB, free: 15.32 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.684, allocations: 63.28 kB / 0.9394 GB, free: 15.25 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009619/0.685, allocations: 0.7783 MB / 0.9402 GB, free: 14.46 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.695e-05/0.685, allocations: 41.7 kB / 0.9402 GB, free: 14.41 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003646/0.6854, allocations: 447.5 kB / 0.9406 GB, free: 13.97 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.6856, allocations: 145.9 kB / 0.9408 GB, free: 13.82 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002064/0.6858, allocations: 114 kB / 0.9409 GB, free: 13.71 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.6859, allocations: 333.9 kB / 0.9412 GB, free: 13.38 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008676/0.6868, allocations: 312.9 kB / 0.9415 GB, free: 13.07 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009879/0.6878, allocations: 443.5 kB / 0.9419 GB, free: 12.59 MB / 0.67 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005664/0.6935, allocations: 1.963 MB / 0.9439 GB, free: 10.57 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.6935, allocations: 2 kB / 0.9439 GB, free: 10.57 MB / 0.67 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00207/0.6956, allocations: 0.8504 MB / 0.9447 GB, free: 9.715 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.6956, allocations: 4 kB / 0.9447 GB, free: 9.711 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.6956, allocations: 4 kB / 0.9447 GB, free: 9.707 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.6956, allocations: 8.094 kB / 0.9447 GB, free: 9.699 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008407/0.6965, allocations: 167.7 kB / 0.9449 GB, free: 9.535 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.6965, allocations: 12.94 kB / 0.9449 GB, free: 9.523 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008464/0.6974, allocations: 63.06 kB / 0.9449 GB, free: 9.465 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-05/0.6974, allocations: 31.88 kB / 0.945 GB, free: 9.434 MB / 0.67 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (65): * Single equations (assignments): 65 * 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.0003918/0.6978, allocations: 274.3 kB / 0.9452 GB, free: 9.156 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.698, allocations: 90.95 kB / 0.9453 GB, free: 9.066 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000188/0.6982, allocations: 96.08 kB / 0.9454 GB, free: 8.973 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.6982, allocations: 4 kB / 0.9454 GB, free: 8.969 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.6982, allocations: 3.938 kB / 0.9454 GB, free: 8.965 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001693/0.6999, allocations: 0.695 MB / 0.9461 GB, free: 8.238 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004048/0.704, allocations: 1.928 MB / 0.948 GB, free: 6.215 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.704, allocations: 3.938 kB / 0.948 GB, free: 6.211 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007776/0.7048, allocations: 150 kB / 0.9481 GB, free: 6.066 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.044e-06/0.7048, allocations: 4 kB / 0.9481 GB, free: 6.062 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.196e-05/0.7048, allocations: 16 kB / 0.9481 GB, free: 6.047 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.69e-06/0.7048, allocations: 4 kB / 0.9481 GB, free: 6.043 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.7048, allocations: 7.938 kB / 0.9481 GB, free: 6.035 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002784/0.7076, allocations: 1.233 MB / 0.9494 GB, free: 4.746 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003889/0.708, allocations: 240 kB / 0.9496 GB, free: 4.492 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.7082, allocations: 12 kB / 0.9496 GB, free: 4.48 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008202/0.709, allocations: 65.25 kB / 0.9497 GB, free: 4.418 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.25e-05/0.7091, allocations: 35.91 kB / 0.9497 GB, free: 4.383 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.339e-05/0.7091, allocations: 27.97 kB / 0.9497 GB, free: 4.355 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000702/0.7099, allocations: 0.5419 MB / 0.9502 GB, free: 3.816 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7099, allocations: 4 kB / 0.9502 GB, free: 3.812 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007704/0.7106, allocations: 244 kB / 0.9505 GB, free: 3.574 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.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 (41): * Single equations (assignments): 41 * 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.003418/0.7141, allocations: 1.898 MB / 0.9523 GB, free: 1.621 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001976/0.7161, allocations: 0.7363 MB / 0.9531 GB, free: 0.8828 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/0.7161, allocations: 0 / 0.9531 GB, free: 0.8828 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008654/0.7169, allocations: 342.1 kB / 0.9534 GB, free: 0.5508 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002331/0.7193, allocations: 0.5324 MB / 0.9539 GB, free: 36 kB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01294/0.7322, allocations: 7.481 MB / 0.9612 GB, free: 8.25 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006883/0.7329, allocations: 1.048 MB / 0.9622 GB, free: 7.176 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000812/0.7338, allocations: 219 kB / 0.9624 GB, free: 6.957 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004793/0.7342, allocations: 323.3 kB / 0.9627 GB, free: 6.641 MB / 0.6856 GB Notification: Performance of SimCode: time 2.71e-07/0.7343, allocations: 0 / 0.9627 GB, free: 6.641 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05446/0.7887, allocations: 25.45 MB / 0.9876 GB, free: 13.65 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.89/8.679, allocations: 1.969 kB / 0.9876 GB, free: 13.65 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1)