Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.513/1.513, allocations: 252 MB / 267 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00121/0.00121, allocations: 187.4 kB / 326.6 MB, free: 2.199 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.915/1.915, allocations: 205.4 MB / 0.5777 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00086/0.00086, allocations: 104.3 kB / 0.6823 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003822/0.0003824, allocations: 8.75 kB / 0.7964 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2541, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.8029/1.057, allocations: 201.8 MB / 1.097 GB, free: 3.801 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01174/1.069, allocations: 5.469 MB / 1.103 GB, free: 3.66 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001855/1.071, allocations: 35 kB / 1.103 GB, free: 3.656 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00147/1.072, allocations: 401.6 kB / 1.103 GB, free: 3.652 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004903/1.077, allocations: 1.298 MB / 1.104 GB, free: 3.59 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003559/1.081, allocations: 0.9138 MB / 1.105 GB, free: 3.551 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004819/1.086, allocations: 3.143 MB / 1.108 GB, free: 3.543 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001336/1.087, allocations: 0.769 MB / 1.109 GB, free: 3.43 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001999/1.089, allocations: 0.8696 MB / 1.11 GB, free: 3.426 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001308/1.09, allocations: 0.8455 MB / 1.111 GB, free: 3.422 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000142/1.09, allocations: 44.88 kB / 1.111 GB, free: 3.422 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003311/1.094, allocations: 0.9201 MB / 1.112 GB, free: 3.406 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005851/1.094, allocations: 452.5 kB / 1.112 GB, free: 3.406 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004558/1.095, allocations: 266.2 kB / 1.112 GB, free: 3.375 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002615/1.098, allocations: 1.57 MB / 1.114 GB, free: 3.258 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/1.098, allocations: 0 / 1.114 GB, free: 3.258 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.188e-06/1.098, allocations: 0 / 1.114 GB, free: 3.258 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.17e-05/1.098, allocations: 1.859 kB / 1.114 GB, free: 3.258 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002883/1.1, allocations: 1.319 MB / 1.115 GB, free: 18.48 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/1.101, allocations: 8.625 kB / 1.115 GB, free: 18.48 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001847/1.101, allocations: 149.2 kB / 1.115 GB, free: 18.44 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002823/1.104, allocations: 491.2 kB / 1.116 GB, free: 18.36 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/1.105, allocations: 0.7973 MB / 1.117 GB, free: 18.05 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003515/1.105, allocations: 134.6 kB / 1.117 GB, free: 18.04 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/1.106, allocations: 84.25 kB / 1.117 GB, free: 18.04 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002335/1.108, allocations: 1.227 MB / 1.118 GB, free: 17.93 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/1.108, allocations: 6.875 kB / 1.118 GB, free: 17.93 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/1.108, allocations: 37.22 kB / 1.118 GB, free: 17.93 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-05/1.108, allocations: 33.09 kB / 1.118 GB, free: 17.93 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002419/1.111, allocations: 1.11 MB / 1.119 GB, free: 17.9 MB / 0.7136 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.007638/1.118, allocations: 4.386 MB / 1.123 GB, free: 16.05 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001922/1.12, allocations: 0.7934 MB / 1.124 GB, free: 16 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000892/1.121, allocations: 418.4 kB / 1.125 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001994/1.121, allocations: 102.6 kB / 1.125 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.271e-05/1.121, allocations: 49.84 kB / 1.125 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 2.925e-06/1.121, allocations: 4 kB / 1.125 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=45): time 0.006093/1.127, allocations: 2.268 MB / 1.127 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.518e-05/1.128, allocations: 63.27 kB / 1.127 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/1.129, allocations: 0.8631 MB / 1.128 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/1.129, allocations: 41.33 kB / 1.128 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003314/1.129, allocations: 0.4911 MB / 1.128 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/1.129, allocations: 155.5 kB / 1.129 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/1.129, allocations: 13.62 kB / 1.129 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001912/1.13, allocations: 329.2 kB / 1.129 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009107/1.131, allocations: 392.5 kB / 1.129 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/1.132, allocations: 0.5309 MB / 1.13 GB, free: 14.3 MB / 0.7136 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.004633/1.136, allocations: 1.513 MB / 1.131 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/1.136, allocations: 1.281 kB / 1.131 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002864/1.139, allocations: 1.031 MB / 1.132 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.561e-05/1.139, allocations: 9.562 kB / 1.132 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/1.139, allocations: 4.219 kB / 1.132 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.576e-05/1.139, allocations: 14.19 kB / 1.132 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009605/1.14, allocations: 210.2 kB / 1.133 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-05/1.14, allocations: 12.55 kB / 1.133 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/1.142, allocations: 115.3 kB / 1.133 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-05/1.142, allocations: 22.81 kB / 1.133 GB, free: 13.95 MB / 0.7136 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: 19 * 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 (73): * Single equations (assignments): 73 * 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.0006872/1.142, allocations: 323.3 kB / 1.133 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/1.142, allocations: 100.7 kB / 1.133 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001993/1.143, allocations: 103.7 kB / 1.133 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/1.143, allocations: 3.25 kB / 1.133 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/1.143, allocations: 0 / 1.133 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001955/1.145, allocations: 1.066 MB / 1.134 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004642/1.149, allocations: 2.211 MB / 1.136 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/1.149, allocations: 2.938 kB / 1.136 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008609/1.15, allocations: 183.8 kB / 1.137 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.1e-05/1.15, allocations: 9.312 kB / 1.137 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.756e-05/1.15, allocations: 22.72 kB / 1.137 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.377e-06/1.15, allocations: 10.08 kB / 1.137 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/1.15, allocations: 5.812 kB / 1.137 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00308/1.153, allocations: 1.498 MB / 1.138 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006267/1.154, allocations: 267.5 kB / 1.138 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/1.154, allocations: 16.09 kB / 1.138 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/1.155, allocations: 124.1 kB / 1.138 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.847e-05/1.155, allocations: 43.53 kB / 1.138 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-05/1.155, allocations: 28.27 kB / 1.139 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008644/1.156, allocations: 0.6081 MB / 1.139 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.9e-07/1.156, allocations: 0 / 1.139 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009289/1.157, allocations: 262.8 kB / 1.139 GB, free: 11.17 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * 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 (45): * Single equations (assignments): 45 * 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.003735/1.161, allocations: 2.14 MB / 1.141 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002064/1.163, allocations: 0.8404 MB / 1.142 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/1.163, allocations: 3.156 kB / 1.142 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0009451/1.164, allocations: 414.4 kB / 1.143 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002739/1.167, allocations: 0.5693 MB / 1.143 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01354/1.18, allocations: 6.502 MB / 1.15 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008678/1.181, allocations: 1.114 MB / 1.151 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001385/1.183, allocations: 265.6 kB / 1.151 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005395/1.183, allocations: 360.5 kB / 1.151 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of SimCode: time 9.72e-07/1.183, allocations: 0 / 1.151 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0564/1.24, allocations: 28.51 MB / 1.179 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004483/1.24, allocations: 296 kB / 1.179 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.978/4.218, allocations: 0 / 1.179 GB, free: 13.07 MB / 0.7448 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)