Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",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.0009943/0.0009944, 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.001294/0.001294, 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.537/1.537, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.737/2.737, allocations: 409.4 MB / 0.684 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003557, allocations: 11.94 kB / 0.8378 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7137/0.7141, allocations: 146.8 MB / 0.9811 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1849/0.899, allocations: 155.4 MB / 1.133 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.006397/0.9055, allocations: 4.029 MB / 1.137 GB, free: 6.48 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006781/0.9062, allocations: 15.94 kB / 1.137 GB, free: 6.465 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0008202/0.907, allocations: 226.6 kB / 1.137 GB, free: 6.242 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:730:36-731: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:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002169/0.9092, allocations: 0.7541 MB / 1.138 GB, free: 5.484 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002075/0.9113, allocations: 0.6058 MB / 1.138 GB, free: 4.887 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001963/0.9133, allocations: 1.52 MB / 1.14 GB, free: 3.359 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005394/0.9138, allocations: 356.3 kB / 1.14 GB, free: 3.008 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/0.9149, allocations: 0.5602 MB / 1.141 GB, free: 2.445 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006732/0.9156, allocations: 430.3 kB / 1.141 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.297e-05/0.9157, allocations: 27.94 kB / 1.141 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/0.917, allocations: 0.612 MB / 1.142 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001973/0.9173, allocations: 179.4 kB / 1.142 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.9174, allocations: 145.4 kB / 1.142 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0009091/0.9183, allocations: 0.7912 MB / 1.143 GB, free: 272 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.9183, allocations: 0 / 1.143 GB, free: 272 kB / 0.8887 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9183, allocations: 0 / 1.143 GB, free: 272 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.9184, allocations: 0 / 1.143 GB, free: 272 kB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001468/0.9198, allocations: 0.8455 MB / 1.144 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.9199, allocations: 12.03 kB / 1.144 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001103/0.92, allocations: 86.52 kB / 1.144 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001483/0.9215, allocations: 291 kB / 1.144 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007925/0.9223, allocations: 469.7 kB / 1.144 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002944/0.9226, allocations: 100.9 kB / 1.145 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.978e-05/0.9227, allocations: 40 kB / 1.145 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.9239, allocations: 0.6302 MB / 1.145 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.9239, allocations: 7.938 kB / 1.145 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.361e-05/0.924, allocations: 20 kB / 1.145 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.247e-05/0.924, allocations: 21 kB / 1.145 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.9253, allocations: 0.5816 MB / 1.146 GB, free: 13.06 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.003702/0.9291, allocations: 2.304 MB / 1.148 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008653/0.9299, allocations: 306.3 kB / 1.148 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005384/0.9305, allocations: 188.7 kB / 1.149 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.9305, allocations: 4.219 kB / 1.149 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.9305, allocations: 38.5 kB / 1.149 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=11): time 1.462e-06/0.9306, allocations: 0 / 1.149 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.004626/0.9352, allocations: 1.189 MB / 1.15 GB, free: 8.863 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.9352, allocations: 81.11 kB / 1.15 GB, free: 8.766 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006073/0.9359, allocations: 0.5456 MB / 1.15 GB, free: 8.207 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.442e-05/0.9359, allocations: 29.7 kB / 1.15 GB, free: 8.172 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.9361, allocations: 299.5 kB / 1.151 GB, free: 7.875 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.146e-05/0.9362, allocations: 43.33 kB / 1.151 GB, free: 7.832 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-05/0.9362, allocations: 8 kB / 1.151 GB, free: 7.824 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.9364, allocations: 366.7 kB / 1.151 GB, free: 7.457 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005702/0.9369, allocations: 211.8 kB / 1.151 GB, free: 7.25 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006094/0.9376, allocations: 289.2 kB / 1.152 GB, free: 6.934 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000594/0.9382, allocations: 215.8 kB / 1.152 GB, free: 6.723 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.9382, allocations: 4 kB / 1.152 GB, free: 6.719 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002503/0.9407, allocations: 0.78 MB / 1.153 GB, free: 5.93 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.9407, allocations: 4 kB / 1.153 GB, free: 5.926 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.097e-05/0.9408, allocations: 7.938 kB / 1.153 GB, free: 5.918 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006073/0.9414, allocations: 188.7 kB / 1.153 GB, free: 5.73 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003732/0.9418, allocations: 91.83 kB / 1.153 GB, free: 5.641 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004015/0.9458, allocations: 2.19 MB / 1.155 GB, free: 3.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006969/0.9465, allocations: 91.53 kB / 1.155 GB, free: 3.23 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.141e-05/0.9465, allocations: 12 kB / 1.155 GB, free: 3.219 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (26): * Single equations (assignments): 25 * 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.0003452/0.9469, allocations: 193.7 kB / 1.155 GB, free: 3.02 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.859e-05/0.947, allocations: 47.44 kB / 1.155 GB, free: 2.973 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.9471, allocations: 52.03 kB / 1.155 GB, free: 2.918 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.9471, allocations: 4.141 kB / 1.155 GB, free: 2.914 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.9471, allocations: 4 kB / 1.155 GB, free: 2.91 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.9472, allocations: 4 kB / 1.155 GB, free: 2.906 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00304/0.9502, allocations: 1.18 MB / 1.157 GB, free: 1.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.9502, allocations: 0 / 1.157 GB, free: 1.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002467/0.9505, allocations: 48.02 kB / 1.157 GB, free: 1.613 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005125/0.951, allocations: 188.7 kB / 1.157 GB, free: 1.426 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.951, allocations: 7.938 kB / 1.157 GB, free: 1.418 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003224/0.9543, allocations: 2.062 MB / 1.159 GB, free: 15.22 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.9543, allocations: 11.92 kB / 1.159 GB, free: 15.21 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002366/0.9567, allocations: 0.7509 MB / 1.16 GB, free: 14.43 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002406/0.9569, allocations: 168.6 kB / 1.16 GB, free: 14.25 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.2e-05/0.957, allocations: 8.094 kB / 1.16 GB, free: 14.24 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005603/0.9576, allocations: 67.86 kB / 1.16 GB, free: 14.18 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/0.9576, allocations: 15.98 kB / 1.16 GB, free: 14.16 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.272e-05/0.9577, allocations: 11.98 kB / 1.16 GB, free: 14.15 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0005015/0.9582, allocations: 390.8 kB / 1.16 GB, free: 13.77 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.21e-07/0.9582, allocations: 0 / 1.16 GB, free: 13.77 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006974/0.9589, allocations: 183.8 kB / 1.16 GB, free: 13.59 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (7): * Single equations (assignments): 6 * 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.003033/0.9619, allocations: 1.375 MB / 1.162 GB, free: 12.19 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002017/0.964, allocations: 0.6428 MB / 1.162 GB, free: 11.53 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/0.964, allocations: 8 kB / 1.162 GB, free: 11.52 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0006877/0.9647, allocations: 322.9 kB / 1.163 GB, free: 11.2 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/0.9661, allocations: 292 kB / 1.163 GB, free: 10.91 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008178/0.9743, allocations: 3.552 MB / 1.166 GB, free: 7.281 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005042/0.9748, allocations: 0.8621 MB / 1.167 GB, free: 6.391 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0005096/0.9753, allocations: 100.5 kB / 1.167 GB, free: 6.289 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002507/0.9756, allocations: 168.7 kB / 1.167 GB, free: 6.125 MB / 0.92 GB Notification: Performance of SimCode: time 8.42e-07/0.9756, allocations: 4 kB / 1.167 GB, free: 6.121 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03237/1.008, allocations: 15.98 MB / 1.183 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/1.008, allocations: 279.5 kB / 1.183 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.174/3.182, allocations: 0 / 1.183 GB, free: 6.16 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat does not exist to compare? outputFormat=mat