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.001518/0.001518, allocations: 108 kB / 15.6 MB, free: 132 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.001536/0.001536, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.349/1.349, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002417/0.002417, allocations: 290.7 kB / 290.7 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.014/1.014, allocations: 178.6 MB / 0.5073 GB, free: 4.555 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002651/0.002651, allocations: 100.8 kB / 0.6065 GB, free: 24.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1466, allocations: 89.15 MB / 0.6936 GB, free: 4.176 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.4215/0.5682, allocations: 171 MB / 0.8606 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006046/0.5742, allocations: 4.292 MB / 0.8648 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004229/0.5747, allocations: 23.16 kB / 0.8648 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008618/0.5756, allocations: 344.7 kB / 0.8651 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00193/0.5775, allocations: 1.004 MB / 0.8661 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001769/0.5793, allocations: 0.806 MB / 0.8669 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001211/0.5805, allocations: 1.293 MB / 0.8681 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005676/0.5811, allocations: 487.4 kB / 0.8686 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009886/0.5821, allocations: 0.6711 MB / 0.8693 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000834/0.583, allocations: 458.4 kB / 0.8697 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.931e-05/0.583, allocations: 53.31 kB / 0.8697 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001286/0.5843, allocations: 0.9063 MB / 0.8706 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002104/0.5846, allocations: 213 kB / 0.8708 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003161/0.5849, allocations: 329.4 kB / 0.8712 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001228/0.5861, allocations: 1.126 MB / 0.8723 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.5861, allocations: 0 / 0.8723 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.286e-06/0.5861, allocations: 0 / 0.8723 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.5861, allocations: 6.344 kB / 0.8723 GB, free: 2.535 MB / 0.5919 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.001497/0.5877, allocations: 0.9492 MB / 0.8732 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.99e-05/0.5877, allocations: 13.91 kB / 0.8732 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001027/0.5878, allocations: 80.31 kB / 0.8733 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001574/0.5894, allocations: 260.6 kB / 0.8735 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007718/0.5902, allocations: 492.6 kB / 0.874 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003189/0.5905, allocations: 87.31 kB / 0.8741 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.775e-05/0.5906, allocations: 39.5 kB / 0.8741 GB, free: 1.109 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.5918, allocations: 0.6196 MB / 0.8747 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.5918, allocations: 0 / 0.8747 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.79e-05/0.5918, allocations: 20.88 kB / 0.8747 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.553e-05/0.5919, allocations: 22.97 kB / 0.8748 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001443/0.5933, allocations: 0.5573 MB / 0.8753 GB, free: 452 kB / 0.5919 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.003842/0.5972, allocations: 2.291 MB / 0.8775 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.5982, allocations: 294.1 kB / 0.8778 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005832/0.5988, allocations: 177.2 kB / 0.878 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.5988, allocations: 3.984 kB / 0.878 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.5989, allocations: 37.06 kB / 0.878 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.5989, allocations: 0 / 0.878 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.005332/0.6042, allocations: 1.107 MB / 0.8791 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.85e-05/0.6043, allocations: 81.05 kB / 0.8792 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006324/0.6049, allocations: 0.5495 MB / 0.8797 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.13e-05/0.605, allocations: 33.7 kB / 0.8798 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002262/0.6052, allocations: 299.5 kB / 0.88 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.975e-05/0.6053, allocations: 47.44 kB / 0.8801 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.6054, allocations: 53.61 kB / 0.8801 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.6055, allocations: 358.8 kB / 0.8805 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006879/0.6062, allocations: 199.8 kB / 0.8807 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007262/0.607, allocations: 279.7 kB / 0.8809 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/0.6083, allocations: 410.5 kB / 0.8813 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.6083, allocations: 4 kB / 0.8813 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002815/0.6111, allocations: 0.7426 MB / 0.8821 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.6111, allocations: 8 kB / 0.8821 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.6111, allocations: 0 / 0.8821 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006263/0.6118, allocations: 192.8 kB / 0.8823 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003807/0.6122, allocations: 67.89 kB / 0.8823 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004041/0.6162, allocations: 2.232 MB / 0.8845 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005827/0.6168, allocations: 79.55 kB / 0.8846 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/0.6169, allocations: 9.75 kB / 0.8846 GB, free: 7.473 MB / 0.6075 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.0002268/0.6171, allocations: 191.1 kB / 0.8848 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.6172, allocations: 55.28 kB / 0.8848 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.6173, allocations: 55.97 kB / 0.8849 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.6173, allocations: 4 kB / 0.8849 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.6173, allocations: 0 / 0.8849 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.6173, allocations: 3.984 kB / 0.8849 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003213/0.6205, allocations: 1.137 MB / 0.886 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.6206, allocations: 4 kB / 0.886 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/0.6208, allocations: 35.95 kB / 0.886 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005311/0.6214, allocations: 184.8 kB / 0.8862 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.6214, allocations: 3.984 kB / 0.8862 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003819/0.6252, allocations: 2.191 MB / 0.8883 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.6252, allocations: 4.031 kB / 0.8883 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002639/0.6279, allocations: 0.7079 MB / 0.889 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000219/0.6281, allocations: 168.5 kB / 0.8892 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.084e-05/0.6282, allocations: 0 / 0.8892 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005977/0.6288, allocations: 55.88 kB / 0.8893 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.884e-05/0.6289, allocations: 15.98 kB / 0.8893 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.277e-05/0.6289, allocations: 15.98 kB / 0.8893 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004448/0.6294, allocations: 394.8 kB / 0.8897 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6294, allocations: 3.938 kB / 0.8897 GB, free: 2 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005851/0.63, allocations: 183.7 kB / 0.8898 GB, free: 1.82 MB / 0.6075 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.003243/0.6332, allocations: 1.329 MB / 0.8911 GB, free: 480 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001696/0.6349, allocations: 0.5375 MB / 0.8917 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6349, allocations: 4 kB / 0.8917 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008172/0.6358, allocations: 306.9 kB / 0.892 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/0.6372, allocations: 307.7 kB / 0.8923 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/0.649, allocations: 5.181 MB / 0.8973 GB, free: 9.988 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004806/0.6495, allocations: 0.8698 MB / 0.8982 GB, free: 9.09 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004063/0.6499, allocations: 100.5 kB / 0.8983 GB, free: 8.984 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002279/0.6502, allocations: 163.4 kB / 0.8984 GB, free: 8.824 MB / 0.6231 GB Notification: Performance of SimCode: time 2.81e-07/0.6502, allocations: 4 kB / 0.8984 GB, free: 8.82 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04551/0.6957, allocations: 16.77 MB / 0.9148 GB, free: 8.438 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.93, allocations: 12.95 kB / 0.9148 GB, free: 8.434 MB / 0.6387 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)