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: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 91.22 kB / 15.06 MB, free: 1.094 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.001028/0.001028, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001716/0.001716, allocations: 266.5 kB / 291.3 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9401/0.9401, allocations: 169.5 MB / 0.5 GB, free: 14.24 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003979/0.0003979, allocations: 16.44 kB / 0.598 GB, free: 28.37 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.134, allocations: 88.55 MB / 0.6845 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.4594/0.5934, allocations: 201.5 MB / 0.8812 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007871/0.6013, allocations: 5.398 MB / 0.8865 GB, free: 424 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007723/0.6021, allocations: 34.56 kB / 0.8865 GB, free: 408 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001085/0.6032, allocations: 392.6 kB / 0.8869 GB, free: 76 kB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002882/0.6061, allocations: 1.222 MB / 0.8881 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002328/0.6084, allocations: 0.9025 MB / 0.889 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002989/0.6114, allocations: 2.987 MB / 0.8919 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008897/0.6123, allocations: 0.6802 MB / 0.8926 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001378/0.6137, allocations: 0.8674 MB / 0.8934 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.6148, allocations: 0.7919 MB / 0.8942 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.687e-05/0.6149, allocations: 36 kB / 0.8942 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001906/0.6168, allocations: 0.912 MB / 0.8951 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003536/0.6172, allocations: 347 kB / 0.8954 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002243/0.6174, allocations: 233.1 kB / 0.8957 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001405/0.6188, allocations: 1.395 MB / 0.897 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.6188, allocations: 0 / 0.897 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.542e-06/0.6188, allocations: 0 / 0.897 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.971e-05/0.6188, allocations: 4 kB / 0.897 GB, free: 6.699 MB / 0.6075 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.00188/0.6207, allocations: 1.241 MB / 0.8982 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.6208, allocations: 8.031 kB / 0.8982 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00251/0.6233, allocations: 434.3 kB / 0.8987 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.6245, allocations: 0.742 MB / 0.8994 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003162/0.6249, allocations: 117.9 kB / 0.8995 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.625, allocations: 79.98 kB / 0.8996 GB, free: 4 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/0.6268, allocations: 1.014 MB / 0.9006 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.6269, allocations: 3.938 kB / 0.9006 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.465e-05/0.627, allocations: 32 kB / 0.9006 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.672e-05/0.627, allocations: 30 kB / 0.9006 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001939/0.629, allocations: 0.9135 MB / 0.9015 GB, free: 1.988 MB / 0.6075 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.005414/0.6344, allocations: 3.533 MB / 0.905 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/0.6359, allocations: 0.636 MB / 0.9056 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007815/0.6367, allocations: 372.9 kB / 0.9059 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001809/0.6369, allocations: 97.08 kB / 0.906 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.637, allocations: 42.5 kB / 0.9061 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=39): time 2.685e-06/0.637, allocations: 8 kB / 0.9061 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of matching and sorting (n=41): time 0.004762/0.6418, allocations: 1.983 MB / 0.908 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.6418, allocations: 59.34 kB / 0.9081 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008928/0.6427, allocations: 0.7666 MB / 0.9088 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.121e-05/0.6428, allocations: 37.7 kB / 0.9089 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003179/0.6431, allocations: 447.5 kB / 0.9093 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.6432, allocations: 153.8 kB / 0.9094 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.6433, allocations: 16 kB / 0.9094 GB, free: 9.555 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.6434, allocations: 322 kB / 0.9098 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007744/0.6442, allocations: 332.9 kB / 0.9101 GB, free: 8.91 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008534/0.645, allocations: 461.3 kB / 0.9105 GB, free: 8.414 MB / 0.6231 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.00365/0.6487, allocations: 1.347 MB / 0.9118 GB, free: 7.043 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.6487, allocations: 3.953 kB / 0.9118 GB, free: 7.039 MB / 0.6231 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001862/0.6506, allocations: 0.87 MB / 0.9127 GB, free: 6.164 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.6506, allocations: 16.08 kB / 0.9127 GB, free: 6.148 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.6506, allocations: 11.86 kB / 0.9127 GB, free: 6.137 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.6507, allocations: 8 kB / 0.9127 GB, free: 6.129 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000813/0.6515, allocations: 185.6 kB / 0.9129 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.6515, allocations: 7.938 kB / 0.9129 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008579/0.6524, allocations: 99.75 kB / 0.913 GB, free: 5.844 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.292e-05/0.6524, allocations: 20 kB / 0.913 GB, free: 5.824 MB / 0.6231 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003788/0.6528, allocations: 277.6 kB / 0.9133 GB, free: 5.543 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/0.653, allocations: 90.92 kB / 0.9134 GB, free: 5.453 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001949/0.6532, allocations: 100.1 kB / 0.9135 GB, free: 5.352 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.6532, allocations: 4 kB / 0.9135 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.6532, allocations: 0 / 0.9135 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001527/0.6547, allocations: 0.7262 MB / 0.9142 GB, free: 4.59 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003747/0.6585, allocations: 1.962 MB / 0.9161 GB, free: 2.531 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.6585, allocations: 4.031 kB / 0.9161 GB, free: 2.527 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007351/0.6592, allocations: 167.8 kB / 0.9163 GB, free: 2.363 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.286e-06/0.6593, allocations: 7.953 kB / 0.9163 GB, free: 2.355 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.107e-05/0.6593, allocations: 12.88 kB / 0.9163 GB, free: 2.344 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.6593, allocations: 11.88 kB / 0.9163 GB, free: 2.332 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.6593, allocations: 4 kB / 0.9163 GB, free: 2.328 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002459/0.6618, allocations: 1.283 MB / 0.9175 GB, free: 0.9883 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003276/0.6621, allocations: 236 kB / 0.9178 GB, free: 0.7383 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.6623, allocations: 24.02 kB / 0.9178 GB, free: 0.7148 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008404/0.6631, allocations: 91.77 kB / 0.9179 GB, free: 0.625 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.071e-05/0.6632, allocations: 39.89 kB / 0.9179 GB, free: 0.5859 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-05/0.6633, allocations: 31.98 kB / 0.9179 GB, free: 0.5547 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006403/0.6639, allocations: 0.5302 MB / 0.9185 GB, free: 32 kB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6639, allocations: 0 / 0.9185 GB, free: 32 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007652/0.6647, allocations: 244 kB / 0.9187 GB, free: 15.79 MB / 0.6387 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 (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.0004124/0.6651, allocations: 212.8 kB / 0.9189 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001686/0.6668, allocations: 0.7246 MB / 0.9196 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.6668, allocations: 0 / 0.9196 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007849/0.6676, allocations: 356.5 kB / 0.9199 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002167/0.6698, allocations: 0.4975 MB / 0.9204 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003997/0.6738, allocations: 2.234 MB / 0.9226 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006074/0.6744, allocations: 1.033 MB / 0.9236 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008312/0.6752, allocations: 231 kB / 0.9238 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000233/0.6755, allocations: 71.42 kB / 0.9239 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of SimCode: time 2.91e-07/0.6755, allocations: 3.938 kB / 0.9239 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of Templates: time 0.0265/0.702, allocations: 17.18 MB / 0.9407 GB, free: 9.469 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1)