Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.807/0.807, allocations: 127.4 MB / 134.9 MB, free: 3.719 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001602/0.001602, allocations: 176.9 kB / 164.7 MB, free: 6.539 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.879/1.879, allocations: 205.2 MB / 399.5 MB, free: 5.859 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 92.28 kB / 476.7 MB, free: 8.586 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.542e-05/4.545e-05, allocations: 11.98 kB / 0.5467 GB, free: 60.4 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1897, allocations: 76.76 MB / 0.6216 GB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.996/6.186, allocations: 2.149 GB / 2.771 GB, free: 82.35 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003304/6.186, allocations: 90.8 kB / 2.771 GB, free: 82.26 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.089/8.275, allocations: 0.5611 GB / 3.332 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.383e-06/8.275, allocations: 0 / 3.332 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.452e-05/8.275, allocations: 31.98 kB / 3.332 GB, free: 10.02 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.003067/8.278, allocations: 1.241 MB / 3.334 GB, free: 8.734 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.575e-05/8.278, allocations: 8.031 kB / 3.334 GB, free: 8.727 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002624/8.281, allocations: 406.2 kB / 3.334 GB, free: 8.328 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001722/8.283, allocations: 0.8013 MB / 3.335 GB, free: 7.484 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003617/8.283, allocations: 101.9 kB / 3.335 GB, free: 7.383 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/8.283, allocations: 44 kB / 3.335 GB, free: 7.34 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001287/8.284, allocations: 0.6599 MB / 3.335 GB, free: 6.68 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/8.286, allocations: 0.798 MB / 3.336 GB, free: 5.852 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/8.286, allocations: 0 / 3.336 GB, free: 5.852 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-05/8.286, allocations: 0 / 3.336 GB, free: 5.852 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.363e-05/8.286, allocations: 33.95 kB / 3.336 GB, free: 5.82 MB / 0.6511 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.005492/8.292, allocations: 3.217 MB / 3.339 GB, free: 2.434 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006387/8.292, allocations: 422.6 kB / 3.34 GB, free: 2.012 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003168/8.293, allocations: 219.5 kB / 3.34 GB, free: 1.797 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002131/8.293, allocations: 116.8 kB / 3.34 GB, free: 1.664 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/8.293, allocations: 42.52 kB / 3.34 GB, free: 1.613 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=38): time 2.775e-06/8.293, allocations: 0 / 3.34 GB, free: 1.613 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40): time 0.003846/8.297, allocations: 1.392 MB / 3.342 GB, free: 168 kB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/8.297, allocations: 55.41 kB / 3.342 GB, free: 100 kB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4872/8.784, allocations: 0.4974 MB / 3.342 GB, free: 122.4 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002126/8.784, allocations: 28.02 kB / 3.342 GB, free: 122.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004319/8.785, allocations: 465.5 kB / 3.343 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000246/8.785, allocations: 136.6 kB / 3.343 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.794e-05/8.785, allocations: 0.5469 kB / 3.343 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001632/8.785, allocations: 375.2 kB / 3.343 GB, free: 121.9 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004437/8.786, allocations: 198.9 kB / 3.343 GB, free: 121.9 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005233/8.786, allocations: 314.1 kB / 3.344 GB, free: 121.8 MB / 0.6511 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.002935/8.789, allocations: 0.9481 MB / 3.344 GB, free: 121.7 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/8.789, allocations: 0.6562 kB / 3.344 GB, free: 121.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002565/8.792, allocations: 0.7874 MB / 3.345 GB, free: 121.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/8.792, allocations: 8.344 kB / 3.345 GB, free: 121.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/8.792, allocations: 3.375 kB / 3.345 GB, free: 121.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004286/8.792, allocations: 138.7 kB / 3.345 GB, free: 121.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006146/8.793, allocations: 135 kB / 3.346 GB, free: 121.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002497/8.795, allocations: 1.73 MB / 3.347 GB, free: 120.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/8.797, allocations: 81.77 kB / 3.347 GB, free: 120.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-05/8.797, allocations: 23.14 kB / 3.347 GB, free: 120.4 MB / 0.6511 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: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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.0002703/8.797, allocations: 120.5 kB / 3.347 GB, free: 120.3 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00227/8.799, allocations: 0.659 MB / 3.348 GB, free: 120.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002809/8.799, allocations: 73.31 kB / 3.348 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002787/8.8, allocations: 74.97 kB / 3.348 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/8.8, allocations: 4.188 kB / 3.348 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/8.8, allocations: 3.953 kB / 3.348 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002004/8.802, allocations: 0.689 MB / 3.349 GB, free: 119.9 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004319/8.806, allocations: 1.645 MB / 3.35 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/8.806, allocations: 8.469 kB / 3.351 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005397/8.807, allocations: 112.9 kB / 3.351 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003646/8.807, allocations: 135.5 kB / 3.351 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.309e-05/8.807, allocations: 11.64 kB / 3.351 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002332/8.809, allocations: 1.735 MB / 3.352 GB, free: 118.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.756e-06/8.81, allocations: 7 kB / 3.352 GB, free: 118.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002671/8.812, allocations: 1.234 MB / 3.354 GB, free: 117.9 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005614/8.813, allocations: 221.9 kB / 3.354 GB, free: 117.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002046/8.813, allocations: 7.234 kB / 3.354 GB, free: 117.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/8.814, allocations: 90.45 kB / 3.354 GB, free: 117.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.734e-05/8.814, allocations: 32.28 kB / 3.354 GB, free: 117.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-05/8.814, allocations: 27.83 kB / 3.354 GB, free: 117.7 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006205/8.815, allocations: 397.8 kB / 3.354 GB, free: 117.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.71e-07/8.815, allocations: 3 kB / 3.354 GB, free: 117.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001819/8.817, allocations: 337.8 kB / 3.355 GB, free: 117.6 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (36): * Single equations (assignments): 35 * 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.007002/8.824, allocations: 4.014 MB / 3.359 GB, free: 115.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00154/8.825, allocations: 0.5642 MB / 3.359 GB, free: 115.5 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/8.825, allocations: 1.438 kB / 3.359 GB, free: 115.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006537/8.826, allocations: 354.5 kB / 3.36 GB, free: 115.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002801/8.829, allocations: 398.9 kB / 3.36 GB, free: 115.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005939/8.835, allocations: 1.577 MB / 3.361 GB, free: 114.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/8.836, allocations: 1.067 MB / 3.363 GB, free: 114.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001266/8.837, allocations: 171.6 kB / 3.363 GB, free: 114.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005821/8.838, allocations: 307.6 kB / 3.363 GB, free: 114.2 MB / 0.6511 GB Notification: Performance of SimCode: time 1.723e-06/8.838, allocations: 3.875 kB / 3.363 GB, free: 114.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0808/8.919, allocations: 31.26 MB / 3.393 GB, free: 113.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/8.919, allocations: 221.6 kB / 3.394 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.977/11.9, allocations: 3.938 kB / 3.394 GB, free: 113.4 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)