Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_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.001033/0.001033, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 194.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.215/1.215, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002007/0.002007, allocations: 283 kB / 290.7 MB, free: 2.031 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8852/0.8852, allocations: 169.2 MB / 0.4982 GB, free: 14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 99.61 kB / 0.5953 GB, free: 27.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1221, allocations: 86.98 MB / 0.6803 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.3867/0.5089, allocations: 171 MB / 0.8472 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005242/0.5141, allocations: 4.28 MB / 0.8514 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003342/0.5145, allocations: 27.31 kB / 0.8515 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007961/0.5153, allocations: 347 kB / 0.8518 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001763/0.5171, allocations: 0.9992 MB / 0.8528 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001523/0.5186, allocations: 0.8089 MB / 0.8536 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001041/0.5197, allocations: 1.288 MB / 0.8548 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004843/0.5202, allocations: 483.9 kB / 0.8553 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008804/0.5211, allocations: 0.6706 MB / 0.8559 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008147/0.5219, allocations: 456.3 kB / 0.8564 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.766e-05/0.522, allocations: 51.56 kB / 0.8564 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0012/0.5232, allocations: 0.909 MB / 0.8573 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001791/0.5234, allocations: 217.6 kB / 0.8575 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002802/0.5237, allocations: 330.7 kB / 0.8578 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.5248, allocations: 1.127 MB / 0.8589 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.5248, allocations: 0 / 0.8589 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.032e-06/0.5249, allocations: 2.844 kB / 0.8589 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.5249, allocations: 0 / 0.8589 GB, free: 7.453 MB / 0.5762 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.001349/0.5262, allocations: 0.9409 MB / 0.8598 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.929e-05/0.5263, allocations: 10.06 kB / 0.8599 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.046e-05/0.5264, allocations: 94.2 kB / 0.8599 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001508/0.5279, allocations: 258.5 kB / 0.8602 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006837/0.5286, allocations: 484.8 kB / 0.8606 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003118/0.5289, allocations: 82.75 kB / 0.8607 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.965e-05/0.529, allocations: 48.33 kB / 0.8608 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.5301, allocations: 0.6209 MB / 0.8614 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.5301, allocations: 2.719 kB / 0.8614 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.19e-05/0.5301, allocations: 20.81 kB / 0.8614 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.699e-05/0.5302, allocations: 26.47 kB / 0.8614 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/0.5315, allocations: 0.5573 MB / 0.862 GB, free: 5.359 MB / 0.5762 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.003516/0.535, allocations: 2.28 MB / 0.8642 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009347/0.536, allocations: 290.2 kB / 0.8645 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005441/0.5365, allocations: 181.1 kB / 0.8646 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.5366, allocations: 0 / 0.8646 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.5366, allocations: 38.31 kB / 0.8647 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 9.71e-07/0.5366, allocations: 2.844 kB / 0.8647 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.004904/0.5415, allocations: 1.113 MB / 0.8658 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.5415, allocations: 85.09 kB / 0.8659 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005091/0.5421, allocations: 0.5524 MB / 0.8664 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.5421, allocations: 28.36 kB / 0.8664 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001702/0.5423, allocations: 309.6 kB / 0.8667 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.97e-05/0.5423, allocations: 34.39 kB / 0.8668 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.5424, allocations: 60.8 kB / 0.8668 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.5425, allocations: 355.4 kB / 0.8671 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006006/0.5431, allocations: 196.7 kB / 0.8673 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000626/0.5438, allocations: 274.5 kB / 0.8676 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/0.5449, allocations: 425.3 kB / 0.868 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.545, allocations: 1.844 kB / 0.868 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002514/0.5475, allocations: 0.7398 MB / 0.8687 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.5475, allocations: 4.906 kB / 0.8687 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.5475, allocations: 2.344 kB / 0.8687 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000555/0.5481, allocations: 181.3 kB / 0.8689 GB, free: 480 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003539/0.5484, allocations: 74.44 kB / 0.869 GB, free: 456 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003503/0.5519, allocations: 2.234 MB / 0.8712 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000535/0.5525, allocations: 76.61 kB / 0.8712 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.5525, allocations: 15.33 kB / 0.8712 GB, free: 14.5 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001911/0.5527, allocations: 185.7 kB / 0.8714 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.048e-05/0.5528, allocations: 48.59 kB / 0.8715 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.889e-05/0.5529, allocations: 61.78 kB / 0.8715 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.5529, allocations: 1.875 kB / 0.8715 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.5529, allocations: 0 / 0.8715 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.5529, allocations: 2.531 kB / 0.8715 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002827/0.5558, allocations: 1.142 MB / 0.8726 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.5558, allocations: 0 / 0.8726 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/0.556, allocations: 43.42 kB / 0.8727 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004762/0.5565, allocations: 187.1 kB / 0.8729 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.5565, allocations: 3.781 kB / 0.8729 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00323/0.5598, allocations: 2.188 MB / 0.875 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.5598, allocations: 2.625 kB / 0.875 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002356/0.5621, allocations: 0.7163 MB / 0.8757 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001833/0.5623, allocations: 166.5 kB / 0.8759 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.133e-05/0.5624, allocations: 6.75 kB / 0.8759 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005761/0.563, allocations: 55.52 kB / 0.8759 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.5631, allocations: 13.52 kB / 0.8759 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-05/0.5631, allocations: 17.8 kB / 0.876 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003618/0.5635, allocations: 391.4 kB / 0.8763 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5635, allocations: 0 / 0.8763 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005097/0.564, allocations: 179.5 kB / 0.8765 GB, free: 10.59 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002892/0.5669, allocations: 1.33 MB / 0.8778 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001491/0.5684, allocations: 0.5334 MB / 0.8783 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5684, allocations: 0 / 0.8783 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007126/0.5691, allocations: 304 kB / 0.8786 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/0.5704, allocations: 312.8 kB / 0.8789 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/0.5809, allocations: 5.182 MB / 0.884 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.5812, allocations: 0.8629 MB / 0.8848 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003934/0.5816, allocations: 110.3 kB / 0.8849 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/0.5818, allocations: 163.1 kB / 0.8851 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of SimCode: time 2.11e-07/0.5818, allocations: 0 / 0.8851 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.295/2.876, allocations: 16.78 MB / 0.9015 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/13.67, allocations: 11.8 kB / 0.9015 GB, free: 4.398 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)