Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",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.8724/0.8724, allocations: 141.8 MB / 149.3 MB, free: 9.223 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.001203/0.001203, allocations: 184.8 kB / 182.2 MB, free: 9.434 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.602/1.602, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.000976/0.0009757, allocations: 105.5 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001671/0.001672, allocations: 263.7 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.327e-05/2.303e-05, allocations: 4 kB / 0.6766 GB, free: 12.71 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4453/0.4453, allocations: 82.78 MB / 0.7575 GB, free: 31.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.617/5.063, allocations: 1.879 GB / 2.636 GB, free: 179.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/5.063, allocations: 87.45 kB / 2.636 GB, free: 179.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.089/7.152, allocations: 0.5697 GB / 3.206 GB, free: 137.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.452e-06/7.152, allocations: 3.938 kB / 3.206 GB, free: 137.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.395e-05/7.152, allocations: 29.5 kB / 3.206 GB, free: 137.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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.002322/7.155, allocations: 1.222 MB / 3.207 GB, free: 136.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/7.155, allocations: 11.97 kB / 3.207 GB, free: 136.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002401/7.157, allocations: 419.5 kB / 3.208 GB, free: 136.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/7.158, allocations: 0.7735 MB / 3.208 GB, free: 135.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003275/7.159, allocations: 95.69 kB / 3.208 GB, free: 135.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/7.159, allocations: 48 kB / 3.208 GB, free: 135.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001165/7.16, allocations: 0.656 MB / 3.209 GB, free: 134.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/7.161, allocations: 0.7856 MB / 3.21 GB, free: 133.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/7.161, allocations: 0 / 3.21 GB, free: 133.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.691e-05/7.161, allocations: 0 / 3.21 GB, free: 133.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-05/7.161, allocations: 29.95 kB / 3.21 GB, free: 133.7 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.00558/7.167, allocations: 3.215 MB / 3.213 GB, free: 130.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005572/7.168, allocations: 414.3 kB / 3.213 GB, free: 129.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002941/7.168, allocations: 233.5 kB / 3.214 GB, free: 129.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000239/7.168, allocations: 105.4 kB / 3.214 GB, free: 129.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/7.168, allocations: 40.86 kB / 3.214 GB, free: 129.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=39): time 4.389e-06/7.168, allocations: 0 / 3.214 GB, free: 129.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=41): time 0.003704/7.172, allocations: 1.422 MB / 3.215 GB, free: 128.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/7.172, allocations: 55.41 kB / 3.215 GB, free: 128 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005397/7.173, allocations: 0.4957 MB / 3.216 GB, free: 127.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.952e-05/7.173, allocations: 25.7 kB / 3.216 GB, free: 127.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/7.173, allocations: 455 kB / 3.216 GB, free: 127 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.549e-05/7.173, allocations: 144.8 kB / 3.216 GB, free: 126.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.032e-05/7.173, allocations: 0 / 3.216 GB, free: 126.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001037/7.173, allocations: 374.8 kB / 3.217 GB, free: 126.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002605/7.173, allocations: 201.1 kB / 3.217 GB, free: 126.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003123/7.174, allocations: 319.8 kB / 3.217 GB, free: 126 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.002268/7.176, allocations: 0.9955 MB / 3.218 GB, free: 125 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/7.176, allocations: 0 / 3.218 GB, free: 125 MB / 0.698 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001903/7.178, allocations: 0.7995 MB / 3.219 GB, free: 124.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/7.178, allocations: 8.781 kB / 3.219 GB, free: 124.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/7.178, allocations: 4 kB / 3.219 GB, free: 124.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003289/7.178, allocations: 139.2 kB / 3.219 GB, free: 124.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000543/7.179, allocations: 130.6 kB / 3.219 GB, free: 123.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001956/7.181, allocations: 1.747 MB / 3.221 GB, free: 122.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009029/7.182, allocations: 78.47 kB / 3.221 GB, free: 122 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.505e-05/7.182, allocations: 23.98 kB / 3.221 GB, free: 122 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. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volSte.heatPort.Q_flow:VARIABLE(flow=true unit = "W" ) "Heat flow rate (positive if flowing from outside into the component)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001919/7.182, allocations: 119.9 kB / 3.221 GB, free: 121.9 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001706/7.184, allocations: 0.6635 MB / 3.222 GB, free: 121.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/7.184, allocations: 79.05 kB / 3.222 GB, free: 121.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002138/7.184, allocations: 81.88 kB / 3.222 GB, free: 121 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/7.184, allocations: 4 kB / 3.222 GB, free: 121 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/7.184, allocations: 4 kB / 3.222 GB, free: 121 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001668/7.186, allocations: 0.6862 MB / 3.223 GB, free: 120.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003447/7.189, allocations: 1.681 MB / 3.224 GB, free: 118.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/7.189, allocations: 4 kB / 3.224 GB, free: 118.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005006/7.19, allocations: 118.9 kB / 3.224 GB, free: 118.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003033/7.19, allocations: 145.3 kB / 3.224 GB, free: 118.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.468e-05/7.19, allocations: 4 kB / 3.224 GB, free: 118.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002063/7.192, allocations: 1.749 MB / 3.226 GB, free: 116.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/7.192, allocations: 11.25 kB / 3.226 GB, free: 116.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002158/7.194, allocations: 1.251 MB / 3.227 GB, free: 115.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003309/7.195, allocations: 220.3 kB / 3.228 GB, free: 114.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9e-05/7.195, allocations: 4 kB / 3.228 GB, free: 114.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008363/7.196, allocations: 79.83 kB / 3.228 GB, free: 114.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/7.196, allocations: 43.84 kB / 3.228 GB, free: 114.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.884e-05/7.196, allocations: 27.98 kB / 3.228 GB, free: 114.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005335/7.196, allocations: 391.1 kB / 3.228 GB, free: 114.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/7.196, allocations: 0 / 3.228 GB, free: 114.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001598/7.198, allocations: 359.9 kB / 3.228 GB, free: 114 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 (37): * Single equations (assignments): 36 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.005057/7.203, allocations: 4.099 MB / 3.232 GB, free: 109.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001012/7.204, allocations: 0.5824 MB / 3.233 GB, free: 109.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/7.204, allocations: 0 / 3.233 GB, free: 109.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004021/7.204, allocations: 353.3 kB / 3.233 GB, free: 109 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001995/7.206, allocations: 389.6 kB / 3.234 GB, free: 108.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003789/7.21, allocations: 1.567 MB / 3.235 GB, free: 107 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005305/7.211, allocations: 1.063 MB / 3.236 GB, free: 105.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008012/7.212, allocations: 181.3 kB / 3.236 GB, free: 105.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003927/7.212, allocations: 303.3 kB / 3.237 GB, free: 105.4 MB / 0.698 GB Notification: Performance of SimCode: time 1.092e-06/7.212, allocations: 0 / 3.237 GB, free: 105.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05112/7.263, allocations: 31.03 MB / 3.267 GB, free: 74.71 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001576/7.263, allocations: 238.2 kB / 3.267 GB, free: 74.41 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.18/10.44, allocations: 0 / 3.267 GB, free: 74.41 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)