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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8295/0.8295, allocations: 141.8 MB / 149.3 MB, free: 9.203 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 172.9 kB / 182.2 MB, free: 9.441 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.575/1.575, allocations: 221.5 MB / 436.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009529/0.0009529, allocations: 88.09 kB / 0.5074 GB, free: 10.09 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001822/0.001822, allocations: 276.6 kB / 0.5889 GB, free: 54.61 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.867e-05/2.892e-05, allocations: 4 kB / 0.6766 GB, free: 12.68 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5372/0.5373, allocations: 82.77 MB / 0.7575 GB, free: 31.95 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.136/5.673, allocations: 1.879 GB / 2.637 GB, free: 139.3 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/5.673, allocations: 87.64 kB / 2.637 GB, free: 139.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.998/7.672, allocations: 0.5712 GB / 3.208 GB, free: 108.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.134e-06/7.672, allocations: 0 / 3.208 GB, free: 108.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.849e-05/7.672, allocations: 27.52 kB / 3.208 GB, free: 108.7 MB / 0.698 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.002574/7.675, allocations: 1.224 MB / 3.209 GB, free: 107.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.138e-05/7.675, allocations: 8.031 kB / 3.209 GB, free: 107.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002776/7.677, allocations: 414.3 kB / 3.209 GB, free: 107 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001697/7.679, allocations: 0.767 MB / 3.21 GB, free: 106.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003212/7.679, allocations: 97.94 kB / 3.21 GB, free: 106.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/7.68, allocations: 44 kB / 3.21 GB, free: 106.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001208/7.681, allocations: 0.6677 MB / 3.211 GB, free: 105.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/7.682, allocations: 0.7863 MB / 3.212 GB, free: 104.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/7.682, allocations: 11.88 kB / 3.212 GB, free: 104.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.171e-05/7.682, allocations: 4 kB / 3.212 GB, free: 104.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.061e-05/7.682, allocations: 26 kB / 3.212 GB, free: 104.5 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.005182/7.687, allocations: 3.212 MB / 3.215 GB, free: 101.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000603/7.688, allocations: 428.3 kB / 3.215 GB, free: 100.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002708/7.688, allocations: 246.5 kB / 3.216 GB, free: 100.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001887/7.689, allocations: 97.42 kB / 3.216 GB, free: 100.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/7.689, allocations: 40.86 kB / 3.216 GB, free: 100.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=39): time 3.366e-06/7.689, allocations: 0 / 3.216 GB, free: 100.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=41): time 0.002528/7.691, allocations: 1.264 MB / 3.217 GB, free: 99.06 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/7.691, allocations: 55.41 kB / 3.217 GB, free: 98.99 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005236/7.692, allocations: 0.4996 MB / 3.217 GB, free: 98.48 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.011e-05/7.692, allocations: 29.64 kB / 3.217 GB, free: 98.45 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/7.692, allocations: 458.9 kB / 3.218 GB, free: 98 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/7.692, allocations: 134 kB / 3.218 GB, free: 97.86 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.071e-05/7.692, allocations: 0 / 3.218 GB, free: 97.86 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001206/7.692, allocations: 378.8 kB / 3.218 GB, free: 97.48 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002653/7.692, allocations: 213 kB / 3.219 GB, free: 97.28 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003615/7.693, allocations: 335.4 kB / 3.219 GB, free: 96.89 MB / 0.698 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.002288/7.695, allocations: 1.023 MB / 3.22 GB, free: 95.85 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/7.695, allocations: 0 / 3.22 GB, free: 95.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009496/7.696, allocations: 0.6242 MB / 3.221 GB, free: 95.22 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/7.696, allocations: 9.594 kB / 3.221 GB, free: 95.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/7.696, allocations: 4 kB / 3.221 GB, free: 95.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.848e-05/7.696, allocations: 15.94 kB / 3.221 GB, free: 95.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007256/7.697, allocations: 155.8 kB / 3.221 GB, free: 95.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/7.697, allocations: 4 kB / 3.221 GB, free: 95.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009742/7.698, allocations: 87.77 kB / 3.221 GB, free: 94.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.862e-05/7.698, allocations: 20 kB / 3.221 GB, free: 94.93 MB / 0.698 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 () * 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.0001693/7.698, allocations: 124.8 kB / 3.221 GB, free: 94.8 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007015/7.699, allocations: 492.3 kB / 3.221 GB, free: 94.32 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.669e-05/7.699, allocations: 75.11 kB / 3.221 GB, free: 94.24 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002113/7.699, allocations: 78.84 kB / 3.222 GB, free: 94.16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/7.699, allocations: 8 kB / 3.222 GB, free: 94.15 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/7.699, allocations: 0 / 3.222 GB, free: 94.15 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000553/7.7, allocations: 0.504 MB / 3.222 GB, free: 93.61 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002186/7.702, allocations: 1.5 MB / 3.224 GB, free: 92.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/7.702, allocations: 4 kB / 3.224 GB, free: 92.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006187/7.703, allocations: 140.2 kB / 3.224 GB, free: 91.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/7.703, allocations: 4 kB / 3.224 GB, free: 91.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.572e-05/7.703, allocations: 8 kB / 3.224 GB, free: 91.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/7.703, allocations: 15.88 kB / 3.224 GB, free: 91.88 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.293e-06/7.703, allocations: 11.89 kB / 3.224 GB, free: 91.86 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/7.704, allocations: 1.084 MB / 3.225 GB, free: 90.64 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003444/7.704, allocations: 212.2 kB / 3.225 GB, free: 90.41 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.946e-05/7.704, allocations: 11.95 kB / 3.225 GB, free: 90.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008172/7.705, allocations: 87.83 kB / 3.225 GB, free: 90.32 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.3e-05/7.705, allocations: 35.94 kB / 3.225 GB, free: 90.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-05/7.705, allocations: 23.98 kB / 3.225 GB, free: 90.26 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004164/7.706, allocations: 391.2 kB / 3.225 GB, free: 89.88 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/7.706, allocations: 3.938 kB / 3.225 GB, free: 89.88 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001305/7.707, allocations: 316 kB / 3.226 GB, free: 89.57 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete 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.003325/7.71, allocations: 3.93 MB / 3.23 GB, free: 85.65 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007566/7.711, allocations: 493.8 kB / 3.23 GB, free: 85.16 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/7.711, allocations: 0 / 3.23 GB, free: 85.16 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002724/7.712, allocations: 237.2 kB / 3.23 GB, free: 84.93 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/7.713, allocations: 395.4 kB / 3.231 GB, free: 84.55 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00379/7.717, allocations: 1.562 MB / 3.232 GB, free: 82.91 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004372/7.718, allocations: 1.051 MB / 3.233 GB, free: 81.82 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008304/7.718, allocations: 197.8 kB / 3.233 GB, free: 81.63 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000385/7.719, allocations: 311.3 kB / 3.234 GB, free: 81.32 MB / 0.698 GB Notification: Performance of SimCode: time 5.91e-07/7.719, allocations: 0 / 3.234 GB, free: 81.32 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06048/7.779, allocations: 29.38 MB / 3.262 GB, free: 52.09 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003109/7.78, allocations: 246.9 kB / 3.263 GB, free: 51.79 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.072/10.85, allocations: 5.906 kB / 3.263 GB, free: 51.79 MB / 0.698 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1)