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.001488/0.001488, allocations: 109.4 kB / 15.69 MB, free: 128 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.001703/0.001703, allocations: 186.8 kB / 16.62 MB, free: 6.582 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.277/1.277, allocations: 222.9 MB / 240.3 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003178/0.003178, allocations: 282.4 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8996/0.8996, allocations: 169.3 MB / 0.4983 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 100.1 kB / 0.5955 GB, free: 27.85 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.154, allocations: 86.98 MB / 0.6804 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.4401/0.5941, allocations: 171 MB / 0.8474 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005876/0.6001, allocations: 4.288 MB / 0.8516 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006074/0.6007, allocations: 22.03 kB / 0.8516 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009197/0.6016, allocations: 343.9 kB / 0.8519 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002133/0.6038, allocations: 1.006 MB / 0.8529 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00186/0.6057, allocations: 0.8107 MB / 0.8537 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001297/0.607, allocations: 1.292 MB / 0.855 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005402/0.6075, allocations: 476.3 kB / 0.8554 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.6086, allocations: 0.6861 MB / 0.8561 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000822/0.6094, allocations: 446 kB / 0.8565 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.911e-05/0.6095, allocations: 56.78 kB / 0.8566 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001328/0.6108, allocations: 0.9074 MB / 0.8575 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001868/0.611, allocations: 210 kB / 0.8577 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002941/0.6113, allocations: 334.3 kB / 0.858 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.6125, allocations: 1.132 MB / 0.8591 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.6125, allocations: 0 / 0.8591 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6126, allocations: 4 kB / 0.8591 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.6126, allocations: 0 / 0.8591 GB, free: 7.297 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.001406/0.614, allocations: 0.9437 MB / 0.86 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.614, allocations: 10.09 kB / 0.86 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.698e-05/0.6141, allocations: 85.64 kB / 0.8601 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001542/0.6157, allocations: 267.2 kB / 0.8604 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007653/0.6164, allocations: 499.8 kB / 0.8608 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.6165, allocations: 28.25 kB / 0.8609 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.242e-05/0.6166, allocations: 39.62 kB / 0.8609 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.6177, allocations: 0.6176 MB / 0.8615 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.6177, allocations: 0 / 0.8615 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.502e-05/0.6177, allocations: 20.75 kB / 0.8615 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.98e-05/0.6178, allocations: 30.73 kB / 0.8616 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/0.619, allocations: 0.5484 MB / 0.8621 GB, free: 5.227 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.003543/0.6226, allocations: 2.257 MB / 0.8643 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008393/0.6234, allocations: 282.9 kB / 0.8646 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004738/0.6239, allocations: 161.7 kB / 0.8647 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.624, allocations: 10.92 kB / 0.8647 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.624, allocations: 41.36 kB / 0.8648 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.624, allocations: 0 / 0.8648 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.004897/0.6289, allocations: 1.096 MB / 0.8658 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.629, allocations: 79.39 kB / 0.8659 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000552/0.6295, allocations: 0.5524 MB / 0.8665 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.24e-05/0.6296, allocations: 25.7 kB / 0.8665 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/0.6298, allocations: 307.7 kB / 0.8668 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.963e-05/0.6298, allocations: 33.27 kB / 0.8668 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.6299, allocations: 63.3 kB / 0.8669 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.6301, allocations: 356.9 kB / 0.8672 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005454/0.6306, allocations: 185.7 kB / 0.8674 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005807/0.6312, allocations: 275.4 kB / 0.8676 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.6322, allocations: 403.9 kB / 0.868 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.6322, allocations: 2.5 kB / 0.868 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002494/0.6347, allocations: 0.732 MB / 0.8688 GB, free: 476 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.6348, allocations: 9.5 kB / 0.8688 GB, free: 472 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.6348, allocations: 2.188 kB / 0.8688 GB, free: 472 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000626/0.6354, allocations: 186 kB / 0.8689 GB, free: 388 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003524/0.6358, allocations: 71.66 kB / 0.869 GB, free: 364 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003637/0.6394, allocations: 2.229 MB / 0.8712 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006171/0.6401, allocations: 76.2 kB / 0.8713 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.6401, allocations: 11.88 kB / 0.8713 GB, free: 14.41 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.0002598/0.6404, allocations: 197.6 kB / 0.8715 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.476e-05/0.6405, allocations: 50.69 kB / 0.8715 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.774e-05/0.6405, allocations: 54.16 kB / 0.8716 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.6406, allocations: 4 kB / 0.8716 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.6406, allocations: 2.188 kB / 0.8716 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.6406, allocations: 0 / 0.8716 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002896/0.6435, allocations: 1.131 MB / 0.8727 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.6435, allocations: 0 / 0.8727 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002366/0.6437, allocations: 49.23 kB / 0.8727 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004919/0.6442, allocations: 174.8 kB / 0.8729 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.6443, allocations: 5.875 kB / 0.8729 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003318/0.6476, allocations: 2.187 MB / 0.875 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.6476, allocations: 0 / 0.875 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002348/0.65, allocations: 0.708 MB / 0.8757 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002249/0.6502, allocations: 170.2 kB / 0.8759 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.162e-05/0.6503, allocations: 2.75 kB / 0.8759 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005584/0.6508, allocations: 51.27 kB / 0.8759 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.715e-05/0.6509, allocations: 13.12 kB / 0.8759 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.373e-05/0.6509, allocations: 15.73 kB / 0.876 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004139/0.6514, allocations: 389.2 kB / 0.8763 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6514, allocations: 0 / 0.8763 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005872/0.652, allocations: 181 kB / 0.8765 GB, free: 10.52 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.002903/0.6549, allocations: 1.322 MB / 0.8778 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001484/0.6564, allocations: 0.517 MB / 0.8783 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.6564, allocations: 0 / 0.8783 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006581/0.657, allocations: 308.1 kB / 0.8786 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.6583, allocations: 304.2 kB / 0.8789 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.6687, allocations: 5.068 MB / 0.8838 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.6691, allocations: 0.8605 MB / 0.8847 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000366/0.6695, allocations: 106.5 kB / 0.8848 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002112/0.6697, allocations: 163 kB / 0.8849 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of SimCode: time 5.01e-07/0.6697, allocations: 0 / 0.8849 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03654/0.7063, allocations: 16.82 MB / 0.9013 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.71, allocations: 12.44 kB / 0.9014 GB, free: 4.527 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)