Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008216/0.0008218, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.000821/0.000821, allocations: 168.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.417/1.417, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.475/2.475, allocations: 390.4 MB / 0.6655 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004301/0.0004301, allocations: 12 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7087/0.7092, allocations: 142.3 MB / 0.9539 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.1941/0.9033, allocations: 173.3 MB / 1.123 GB, free: 2.344 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.009208/0.9126, allocations: 5.385 MB / 1.128 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/0.9139, allocations: 35.75 kB / 1.128 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001228/0.9151, allocations: 389.5 kB / 1.129 GB, free: 12.53 MB / 0.8887 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.00379/0.9189, allocations: 1.212 MB / 1.13 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002883/0.9218, allocations: 0.8844 MB / 1.131 GB, free: 10.44 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003977/0.9258, allocations: 2.979 MB / 1.134 GB, free: 7.457 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001436/0.9273, allocations: 0.7418 MB / 1.134 GB, free: 6.703 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002162/0.9294, allocations: 0.8597 MB / 1.135 GB, free: 5.84 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001287/0.9307, allocations: 0.7978 MB / 1.136 GB, free: 5.039 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001377/0.9309, allocations: 47.94 kB / 1.136 GB, free: 4.992 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002227/0.9331, allocations: 0.9237 MB / 1.137 GB, free: 4.066 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005152/0.9337, allocations: 430.8 kB / 1.137 GB, free: 3.645 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003847/0.9341, allocations: 261 kB / 1.138 GB, free: 3.383 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002054/0.9361, allocations: 1.516 MB / 1.139 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.9361, allocations: 3.938 kB / 1.139 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9362, allocations: 4 kB / 1.139 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.382e-05/0.9362, allocations: 0 / 1.139 GB, free: 1.855 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002773/0.939, allocations: 1.309 MB / 1.14 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.939, allocations: 11.97 kB / 1.14 GB, free: 496 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000206/0.9392, allocations: 143.3 kB / 1.141 GB, free: 344 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002917/0.9422, allocations: 0.4904 MB / 1.141 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001703/0.9439, allocations: 0.7856 MB / 1.142 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000372/0.9443, allocations: 133.9 kB / 1.142 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/0.9444, allocations: 84 kB / 1.142 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002524/0.947, allocations: 1.196 MB / 1.143 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/0.947, allocations: 4 kB / 1.143 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/0.9472, allocations: 43.88 kB / 1.143 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.253e-05/0.9472, allocations: 41.98 kB / 1.143 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002415/0.9496, allocations: 1.101 MB / 1.144 GB, free: 12.4 MB / 0.9044 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.007435/0.9571, allocations: 4.363 MB / 1.149 GB, free: 7.766 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001865/0.959, allocations: 0.8028 MB / 1.149 GB, free: 6.953 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009062/0.9599, allocations: 422 kB / 1.15 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002484/0.9602, allocations: 105 kB / 1.15 GB, free: 6.418 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/0.9602, allocations: 38.56 kB / 1.15 GB, free: 6.371 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 2.976e-06/0.9602, allocations: 3.938 kB / 1.15 GB, free: 6.367 MB / 0.9044 GB Notification: Performance of matching and sorting (n=45): time 0.005828/0.9661, allocations: 2.29 MB / 1.152 GB, free: 4.023 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.9661, allocations: 59.41 kB / 1.152 GB, free: 3.953 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.9673, allocations: 0.8568 MB / 1.153 GB, free: 3.086 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.459e-05/0.9674, allocations: 37.7 kB / 1.153 GB, free: 3.043 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004186/0.9678, allocations: 495.3 kB / 1.154 GB, free: 2.555 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001601/0.968, allocations: 165.6 kB / 1.154 GB, free: 2.391 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.174e-05/0.968, allocations: 20 kB / 1.154 GB, free: 2.371 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.9682, allocations: 326 kB / 1.154 GB, free: 2.047 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000874/0.9691, allocations: 389 kB / 1.154 GB, free: 1.664 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/0.9701, allocations: 0.517 MB / 1.155 GB, free: 1.098 MB / 0.9044 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.004064/0.9742, allocations: 1.56 MB / 1.156 GB, free: 15.52 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.9742, allocations: 0 / 1.156 GB, free: 15.52 MB / 0.92 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002279/0.9765, allocations: 1.033 MB / 1.157 GB, free: 14.48 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.9765, allocations: 4 kB / 1.157 GB, free: 14.48 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.9765, allocations: 8.125 kB / 1.158 GB, free: 14.47 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.9765, allocations: 12 kB / 1.158 GB, free: 14.46 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009728/0.9775, allocations: 207.7 kB / 1.158 GB, free: 14.26 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/0.9776, allocations: 11.94 kB / 1.158 GB, free: 14.25 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.9786, allocations: 113.6 kB / 1.158 GB, free: 14.14 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-05/0.9786, allocations: 35.92 kB / 1.158 GB, free: 14.1 MB / 0.92 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: 17 * 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.0005413/0.9792, allocations: 311.3 kB / 1.158 GB, free: 13.79 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.9794, allocations: 98.83 kB / 1.158 GB, free: 13.69 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002191/0.9796, allocations: 104.8 kB / 1.158 GB, free: 13.58 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.9796, allocations: 4 kB / 1.158 GB, free: 13.58 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.9796, allocations: 0 / 1.158 GB, free: 13.58 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001936/0.9815, allocations: 1.069 MB / 1.159 GB, free: 12.42 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004409/0.986, allocations: 2.21 MB / 1.162 GB, free: 10.11 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.986, allocations: 7.922 kB / 1.162 GB, free: 10.11 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008126/0.9868, allocations: 184.2 kB / 1.162 GB, free: 9.926 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.115e-05/0.9868, allocations: 4 kB / 1.162 GB, free: 9.922 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.29e-05/0.9869, allocations: 19.92 kB / 1.162 GB, free: 9.902 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/0.9869, allocations: 11.95 kB / 1.162 GB, free: 9.891 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.9869, allocations: 4 kB / 1.162 GB, free: 9.887 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002994/0.9899, allocations: 1.476 MB / 1.163 GB, free: 8.355 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004538/0.9904, allocations: 255.9 kB / 1.163 GB, free: 8.086 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.9905, allocations: 8 kB / 1.163 GB, free: 8.078 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008753/0.9914, allocations: 103.9 kB / 1.164 GB, free: 7.977 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.921e-05/0.9915, allocations: 43.84 kB / 1.164 GB, free: 7.934 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.036e-05/0.9916, allocations: 31.97 kB / 1.164 GB, free: 7.902 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007884/0.9924, allocations: 0.5888 MB / 1.164 GB, free: 7.32 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9924, allocations: 0 / 1.164 GB, free: 7.32 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009071/0.9933, allocations: 272 kB / 1.164 GB, free: 7.055 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,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.003636/0.9969, allocations: 2.144 MB / 1.167 GB, free: 4.855 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002159/0.9991, allocations: 0.8472 MB / 1.167 GB, free: 4.004 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.9991, allocations: 4 kB / 1.167 GB, free: 4 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008901/1, allocations: 416.3 kB / 1.168 GB, free: 3.594 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002604/1.003, allocations: 0.5606 MB / 1.168 GB, free: 3.039 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01266/1.015, allocations: 6.477 MB / 1.175 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00101/1.016, allocations: 1.111 MB / 1.176 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001278/1.018, allocations: 263.8 kB / 1.176 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005361/1.018, allocations: 347.3 kB / 1.176 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of SimCode: time 1.012e-06/1.018, allocations: 0 / 1.176 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05036/1.069, allocations: 28.15 MB / 1.204 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003181/1.069, allocations: 287.2 kB / 1.204 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.448/3.517, allocations: 7.938 kB / 1.204 GB, free: 14.57 MB / 0.9669 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat does not exist to compare? outputFormat=mat