Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001088, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5227/0.5227, allocations: 90.91 MB / 99.34 MB, free: 2.23 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 221.5 MB / 343.2 MB, free: 1.582 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009611/0.0009612, allocations: 96.16 kB / 415.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.662e-05/1.663e-05, allocations: 0 / 494.6 MB, free: 52.33 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1533, allocations: 72.31 MB / 0.5536 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.459/5.612, allocations: 1.934 GB / 2.488 GB, free: 227.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000341/5.612, allocations: 87.41 kB / 2.488 GB, free: 227.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.25/6.862, allocations: 394.9 MB / 2.874 GB, free: 91.88 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.294e-06/6.862, allocations: 0 / 2.874 GB, free: 91.88 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.661e-05/6.862, allocations: 12 kB / 2.874 GB, free: 91.86 MB / 0.6042 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.002059/6.864, allocations: 0.8774 MB / 2.874 GB, free: 90.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/6.864, allocations: 12.03 kB / 2.874 GB, free: 90.94 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001739/6.866, allocations: 267 kB / 2.875 GB, free: 90.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/6.867, allocations: 479.8 kB / 2.875 GB, free: 90.17 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003114/6.868, allocations: 89.23 kB / 2.875 GB, free: 90.08 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/6.868, allocations: 24 kB / 2.875 GB, free: 90.06 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006915/6.868, allocations: 390.5 kB / 2.876 GB, free: 89.68 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007673/6.869, allocations: 497.3 kB / 2.876 GB, free: 89.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/6.869, allocations: 0 / 2.876 GB, free: 89.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.637e-05/6.869, allocations: 0 / 2.876 GB, free: 89.16 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.147e-05/6.869, allocations: 25.23 kB / 2.876 GB, free: 89.14 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.003404/6.873, allocations: 2.038 MB / 2.878 GB, free: 87.02 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002666/6.873, allocations: 150.4 kB / 2.878 GB, free: 86.86 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/6.873, allocations: 84.83 kB / 2.878 GB, free: 86.78 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/6.873, allocations: 0 / 2.878 GB, free: 86.78 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/6.873, allocations: 34.56 kB / 2.878 GB, free: 86.73 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/6.873, allocations: 0 / 2.878 GB, free: 86.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.001681/6.875, allocations: 425.8 kB / 2.879 GB, free: 86.31 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/6.875, allocations: 81.11 kB / 2.879 GB, free: 86.21 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003511/6.875, allocations: 353.1 kB / 2.879 GB, free: 85.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.19e-05/6.875, allocations: 29.7 kB / 2.879 GB, free: 85.83 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/6.876, allocations: 307.2 kB / 2.88 GB, free: 85.52 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/6.876, allocations: 39.45 kB / 2.88 GB, free: 85.48 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.933e-05/6.876, allocations: 224 / 2.88 GB, free: 85.48 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.12e-05/6.876, allocations: 342.8 kB / 2.88 GB, free: 85.14 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/6.876, allocations: 107.9 kB / 2.88 GB, free: 85.04 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/6.876, allocations: 177.6 kB / 2.88 GB, free: 84.82 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/6.876, allocations: 123.4 kB / 2.88 GB, free: 84.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/6.876, allocations: 8.031 kB / 2.88 GB, free: 84.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001559/6.878, allocations: 0.5356 MB / 2.881 GB, free: 84.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/6.878, allocations: 4 kB / 2.881 GB, free: 84.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/6.878, allocations: 4 kB / 2.881 GB, free: 84.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003689/6.878, allocations: 132.8 kB / 2.881 GB, free: 84.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003418/6.879, allocations: 79.88 kB / 2.881 GB, free: 83.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002001/6.881, allocations: 1.741 MB / 2.883 GB, free: 82.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000607/6.881, allocations: 75.7 kB / 2.883 GB, free: 82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.924e-05/6.881, allocations: 15.98 kB / 2.883 GB, free: 81.99 MB / 0.6042 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaFlo.Q_flow:VARIABLE(unit = "W" ) "Heat flow from port_a to port_b as output signal" type: Real 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001635/6.881, allocations: 112.9 kB / 2.883 GB, free: 81.87 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00145/6.883, allocations: 417.7 kB / 2.883 GB, free: 81.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/6.883, allocations: 43.47 kB / 2.883 GB, free: 81.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001169/6.883, allocations: 39.34 kB / 2.883 GB, free: 81.37 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/6.883, allocations: 4 kB / 2.883 GB, free: 81.37 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/6.883, allocations: 3.984 kB / 2.883 GB, free: 81.36 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/6.883, allocations: 0 / 2.883 GB, free: 81.36 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002027/6.885, allocations: 0.8924 MB / 2.884 GB, free: 80.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/6.885, allocations: 0 / 2.884 GB, free: 80.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002213/6.885, allocations: 48.02 kB / 2.884 GB, free: 80.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000281/6.886, allocations: 132.8 kB / 2.884 GB, free: 80.24 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/6.886, allocations: 11.92 kB / 2.885 GB, free: 80.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001834/6.888, allocations: 1.73 MB / 2.886 GB, free: 78.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/6.888, allocations: 4.031 kB / 2.886 GB, free: 78.38 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001487/6.889, allocations: 0.5509 MB / 2.887 GB, free: 77.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002304/6.889, allocations: 156.5 kB / 2.887 GB, free: 77.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.395e-05/6.889, allocations: 0 / 2.887 GB, free: 77.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005695/6.89, allocations: 63.89 kB / 2.887 GB, free: 77.56 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.678e-05/6.89, allocations: 7.984 kB / 2.887 GB, free: 77.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.988e-05/6.89, allocations: 19.92 kB / 2.887 GB, free: 77.53 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003093/6.891, allocations: 271 kB / 2.887 GB, free: 77.27 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/6.891, allocations: 0 / 2.887 GB, free: 77.27 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001093/6.892, allocations: 259.5 kB / 2.887 GB, free: 77.02 MB / 0.6042 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003659/6.895, allocations: 2.252 MB / 2.89 GB, free: 74.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000709/6.896, allocations: 354 kB / 2.89 GB, free: 74.51 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/6.896, allocations: 0 / 2.89 GB, free: 74.51 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002662/6.896, allocations: 205.7 kB / 2.89 GB, free: 74.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/6.897, allocations: 188.5 kB / 2.89 GB, free: 74.12 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002896/6.9, allocations: 0.8004 MB / 2.891 GB, free: 73.27 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/6.901, allocations: 0.8698 MB / 2.892 GB, free: 72.38 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004706/6.901, allocations: 83.23 kB / 2.892 GB, free: 72.29 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002064/6.901, allocations: 154.3 kB / 2.892 GB, free: 72.14 MB / 0.6042 GB Notification: Performance of SimCode: time 9.12e-07/6.901, allocations: 0 / 2.892 GB, free: 72.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04833/6.95, allocations: 19.33 MB / 2.911 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002184/6.95, allocations: 193.2 kB / 2.911 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.621/9.571, allocations: 7.969 kB / 2.911 GB, free: 52.69 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)