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.001426/0.001426, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00161/0.00161, allocations: 190.9 kB / 16.14 MB, free: 6.707 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.327/1.327, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002026/0.002026, allocations: 279 kB / 290.2 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9384/0.9384, allocations: 169.2 MB / 0.4977 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 92.77 kB / 0.5946 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1288, allocations: 86.98 MB / 0.6795 GB, free: 1.102 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.4164/0.5452, allocations: 168.7 MB / 0.8443 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005495/0.5507, allocations: 4.352 MB / 0.8486 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005143/0.5513, allocations: 19.62 kB / 0.8486 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008715/0.5521, allocations: 302.2 kB / 0.8489 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001984/0.5541, allocations: 0.9312 MB / 0.8498 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00171/0.5559, allocations: 0.7273 MB / 0.8505 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001491/0.5574, allocations: 1.795 MB / 0.8522 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000465/0.5578, allocations: 414.6 kB / 0.8526 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009086/0.5588, allocations: 0.5944 MB / 0.8532 GB, free: 11 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008883/0.5597, allocations: 471.8 kB / 0.8537 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.082e-05/0.5597, allocations: 27.88 kB / 0.8537 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001445/0.5612, allocations: 1.009 MB / 0.8547 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001884/0.5614, allocations: 194.3 kB / 0.8549 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000278/0.5617, allocations: 302.7 kB / 0.8551 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.5628, allocations: 1.145 MB / 0.8563 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.5628, allocations: 0 / 0.8563 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.91e-07/0.5628, allocations: 3.938 kB / 0.8563 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.5629, allocations: 0 / 0.8563 GB, free: 9.32 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.001516/0.5644, allocations: 0.9485 MB / 0.8572 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.5644, allocations: 10.28 kB / 0.8572 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.487e-05/0.5645, allocations: 85.77 kB / 0.8573 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001695/0.5662, allocations: 262.8 kB / 0.8575 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007554/0.567, allocations: 481.5 kB / 0.858 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003133/0.5673, allocations: 91.72 kB / 0.8581 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.817e-05/0.5674, allocations: 37.09 kB / 0.8581 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.5686, allocations: 0.6313 MB / 0.8587 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.5686, allocations: 3.938 kB / 0.8587 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.702e-05/0.5687, allocations: 19.59 kB / 0.8588 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.586e-05/0.5687, allocations: 15.66 kB / 0.8588 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/0.5701, allocations: 0.5576 MB / 0.8593 GB, free: 7.238 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.003754/0.5738, allocations: 2.282 MB / 0.8615 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009334/0.5748, allocations: 295.2 kB / 0.8618 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005684/0.5754, allocations: 176.7 kB / 0.862 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.5754, allocations: 1.938 kB / 0.862 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.5754, allocations: 39.53 kB / 0.862 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.362e-06/0.5754, allocations: 4 kB / 0.862 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.00515/0.5806, allocations: 1.109 MB / 0.8631 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.5806, allocations: 77.11 kB / 0.8632 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005439/0.5812, allocations: 0.5492 MB / 0.8637 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.92e-05/0.5812, allocations: 31.8 kB / 0.8638 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.5814, allocations: 304.4 kB / 0.8641 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.897e-05/0.5815, allocations: 36.36 kB / 0.8641 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.5816, allocations: 64.72 kB / 0.8642 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.5817, allocations: 355.4 kB / 0.8645 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006034/0.5823, allocations: 196.3 kB / 0.8647 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006292/0.583, allocations: 276 kB / 0.8649 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.5841, allocations: 424.8 kB / 0.8653 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5841, allocations: 2.562 kB / 0.8653 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002609/0.5867, allocations: 0.7345 MB / 0.8661 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.5867, allocations: 5.781 kB / 0.8661 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.5868, allocations: 2.094 kB / 0.8661 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006209/0.5874, allocations: 189.5 kB / 0.8663 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003781/0.5878, allocations: 78.22 kB / 0.8663 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003517/0.5913, allocations: 2.085 MB / 0.8684 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006225/0.5919, allocations: 81.64 kB / 0.8684 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.019e-05/0.592, allocations: 18.14 kB / 0.8685 GB, free: 0.5195 MB / 0.5762 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.0002073/0.5922, allocations: 187.7 kB / 0.8686 GB, free: 372 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.756e-05/0.5923, allocations: 52.5 kB / 0.8687 GB, free: 344 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.676e-05/0.5924, allocations: 53.69 kB / 0.8687 GB, free: 308 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.5924, allocations: 0 / 0.8687 GB, free: 308 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.5924, allocations: 3.938 kB / 0.8687 GB, free: 304 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.5924, allocations: 0 / 0.8687 GB, free: 304 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003028/0.5955, allocations: 1.14 MB / 0.8699 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.5955, allocations: 0 / 0.8699 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002522/0.5957, allocations: 38.98 kB / 0.8699 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005127/0.5962, allocations: 187.7 kB / 0.8701 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.5963, allocations: 6.062 kB / 0.8701 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003207/0.5995, allocations: 2.036 MB / 0.8721 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.5995, allocations: 3.938 kB / 0.8721 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002479/0.602, allocations: 0.7158 MB / 0.8728 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/0.6022, allocations: 166.2 kB / 0.8729 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.281e-05/0.6023, allocations: 0 / 0.8729 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006206/0.6029, allocations: 60.34 kB / 0.873 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.819e-05/0.603, allocations: 12.88 kB / 0.873 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.425e-05/0.603, allocations: 16.7 kB / 0.873 GB, free: 13 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003904/0.6034, allocations: 392.9 kB / 0.8734 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6034, allocations: 0 / 0.8734 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005913/0.604, allocations: 183.9 kB / 0.8736 GB, free: 12.75 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.003057/0.6071, allocations: 1.343 MB / 0.8749 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0015/0.6086, allocations: 0.5192 MB / 0.8754 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.6086, allocations: 2.812 kB / 0.8754 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007153/0.6093, allocations: 309.8 kB / 0.8757 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/0.6107, allocations: 294.4 kB / 0.876 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/0.6218, allocations: 5.343 MB / 0.8812 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.6222, allocations: 0.8588 MB / 0.882 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004425/0.6226, allocations: 110 kB / 0.8821 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/0.6229, allocations: 159.5 kB / 0.8823 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of SimCode: time 6.11e-07/0.6229, allocations: 0 / 0.8823 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02775/0.6506, allocations: 16.1 MB / 0.898 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002044/0.6509, allocations: 314.2 kB / 0.8983 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.005/2.656, allocations: 0 / 0.8983 GB, free: 7.25 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)