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.0009187/0.0009187, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.005369/0.005369, allocations: 171 kB / 16.26 MB, free: 6.613 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.299/1.299, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0017/0.0017, allocations: 270 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9085/0.9085, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003693/0.0003693, allocations: 14.97 kB / 0.5988 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1287, allocations: 88.54 MB / 0.6852 GB, free: 15 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.403/0.5317, allocations: 166.5 MB / 0.8478 GB, free: 300 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005483/0.5372, allocations: 4.292 MB / 0.852 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003253/0.5375, allocations: 18.41 kB / 0.8521 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007092/0.5382, allocations: 301.9 kB / 0.8523 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00163/0.5399, allocations: 0.9401 MB / 0.8533 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.5413, allocations: 0.7203 MB / 0.854 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001447/0.5428, allocations: 1.797 MB / 0.8557 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004559/0.5432, allocations: 402.6 kB / 0.8561 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008348/0.5441, allocations: 0.5777 MB / 0.8567 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007987/0.5449, allocations: 460.7 kB / 0.8571 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.288e-05/0.5449, allocations: 25.83 kB / 0.8571 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/0.5462, allocations: 0.9989 MB / 0.8581 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001593/0.5463, allocations: 184.6 kB / 0.8583 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002548/0.5466, allocations: 317.7 kB / 0.8586 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.5476, allocations: 1.129 MB / 0.8597 GB, free: 8 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.5476, allocations: 0 / 0.8597 GB, free: 8 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5476, allocations: 0 / 0.8597 GB, free: 8 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.5477, allocations: 0 / 0.8597 GB, free: 8 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.001266/0.5489, allocations: 0.852 MB / 0.8605 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.549, allocations: 7.938 kB / 0.8605 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.535e-05/0.5491, allocations: 87.2 kB / 0.8606 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001561/0.5506, allocations: 282.2 kB / 0.8609 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006911/0.5513, allocations: 490.2 kB / 0.8613 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003078/0.5517, allocations: 93.09 kB / 0.8614 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.903e-05/0.5517, allocations: 41.34 kB / 0.8615 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.5529, allocations: 0.6439 MB / 0.8621 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.5529, allocations: 0 / 0.8621 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.534e-05/0.553, allocations: 17.44 kB / 0.8621 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.834e-05/0.553, allocations: 21.72 kB / 0.8621 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/0.5544, allocations: 0.5888 MB / 0.8627 GB, free: 5.961 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.003546/0.5579, allocations: 2.301 MB / 0.865 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009503/0.5589, allocations: 310.7 kB / 0.8653 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005748/0.5595, allocations: 194.1 kB / 0.8654 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.5595, allocations: 2.125 kB / 0.8654 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.5595, allocations: 45.5 kB / 0.8655 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 2.474e-06/0.5595, allocations: 3.984 kB / 0.8655 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.005017/0.5646, allocations: 1.184 MB / 0.8666 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.5646, allocations: 79.89 kB / 0.8667 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000531/0.5651, allocations: 0.5504 MB / 0.8673 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/0.5652, allocations: 32.2 kB / 0.8673 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/0.5654, allocations: 304.5 kB / 0.8676 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/0.5654, allocations: 41.34 kB / 0.8676 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.867e-05/0.5655, allocations: 29.67 kB / 0.8676 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.5656, allocations: 355.8 kB / 0.868 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006142/0.5662, allocations: 209.9 kB / 0.8682 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006502/0.5669, allocations: 289.1 kB / 0.8685 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.5681, allocations: 452.4 kB / 0.8689 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.5681, allocations: 2.906 kB / 0.8689 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002568/0.5707, allocations: 0.7827 MB / 0.8697 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.5707, allocations: 9.828 kB / 0.8697 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.5707, allocations: 6.812 kB / 0.8697 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005591/0.5713, allocations: 181.4 kB / 0.8699 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003604/0.5717, allocations: 85.66 kB / 0.8699 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003412/0.5751, allocations: 2.122 MB / 0.872 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005726/0.5757, allocations: 95.91 kB / 0.8721 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.5757, allocations: 7.75 kB / 0.8721 GB, free: 15.21 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.0001998/0.5759, allocations: 193.9 kB / 0.8723 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.152e-05/0.576, allocations: 48.12 kB / 0.8723 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.652e-05/0.5761, allocations: 53.06 kB / 0.8724 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.5761, allocations: 2.5 kB / 0.8724 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.5761, allocations: 3.938 kB / 0.8724 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.5761, allocations: 3.984 kB / 0.8724 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002942/0.5791, allocations: 1.176 MB / 0.8735 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.5791, allocations: 0 / 0.8735 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.5793, allocations: 53.09 kB / 0.8736 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004912/0.5798, allocations: 190.3 kB / 0.8738 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.5798, allocations: 2.875 kB / 0.8738 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00322/0.5831, allocations: 2.069 MB / 0.8758 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.5831, allocations: 4.031 kB / 0.8758 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002528/0.5856, allocations: 0.7586 MB / 0.8765 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001774/0.5858, allocations: 164.5 kB / 0.8767 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.165e-05/0.5859, allocations: 7.984 kB / 0.8767 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006024/0.5865, allocations: 68.88 kB / 0.8768 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.5865, allocations: 11.98 kB / 0.8768 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-05/0.5866, allocations: 15.98 kB / 0.8768 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003921/0.587, allocations: 390.8 kB / 0.8772 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.587, allocations: 0 / 0.8772 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005489/0.5875, allocations: 187.8 kB / 0.8774 GB, free: 10.25 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.003017/0.5906, allocations: 1.389 MB / 0.8787 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001532/0.5921, allocations: 0.5553 MB / 0.8793 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.5921, allocations: 0 / 0.8793 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000733/0.5929, allocations: 323 kB / 0.8796 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/0.5943, allocations: 286 kB / 0.8798 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01141/0.6057, allocations: 5.49 MB / 0.8852 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.6061, allocations: 0.8621 MB / 0.886 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003737/0.6065, allocations: 104.5 kB / 0.8861 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002084/0.6067, allocations: 155.4 kB / 0.8863 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of SimCode: time 2.61e-07/0.6067, allocations: 0 / 0.8863 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7647/1.371, allocations: 15.94 MB / 0.9018 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003392/1.372, allocations: 306.8 kB / 0.9021 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.21/3.582, allocations: 2.75 kB / 0.9021 GB, free: 0.9688 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)