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.0009959/0.0009961, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4726/0.4726, allocations: 90.8 MB / 104.5 MB, free: 13.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 221.3 MB / 348.3 MB, free: 12.57 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008376/0.0008376, allocations: 102 kB / 421.2 MB, free: 5.715 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.976e-05/2.992e-05, allocations: 2.344 kB / 0.4897 GB, free: 46.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1336, allocations: 72.31 MB / 0.5603 GB, free: 6.316 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.397/5.531, allocations: 1.935 GB / 2.495 GB, free: 164.8 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003524/5.531, allocations: 88.94 kB / 2.495 GB, free: 164.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.189/6.721, allocations: 399.3 MB / 2.885 GB, free: 6.223 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.103e-06/6.721, allocations: 0 / 2.885 GB, free: 6.223 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.037e-05/6.721, allocations: 12 kB / 2.885 GB, free: 6.211 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.001643/6.722, allocations: 0.8725 MB / 2.886 GB, free: 5.293 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/6.722, allocations: 15.98 kB / 2.886 GB, free: 5.277 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.52e-05/6.723, allocations: 82.52 kB / 2.886 GB, free: 5.188 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001454/6.724, allocations: 267 kB / 2.886 GB, free: 4.926 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008085/6.725, allocations: 488.2 kB / 2.887 GB, free: 4.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002969/6.725, allocations: 96.94 kB / 2.887 GB, free: 4.316 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.351e-05/6.725, allocations: 39.94 kB / 2.887 GB, free: 4.277 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007925/6.726, allocations: 0.5461 MB / 2.888 GB, free: 3.695 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/6.726, allocations: 3.984 kB / 2.888 GB, free: 3.691 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.336e-05/6.726, allocations: 16 kB / 2.888 GB, free: 3.676 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.888e-05/6.726, allocations: 17 kB / 2.888 GB, free: 3.66 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006071/6.727, allocations: 415.8 kB / 2.888 GB, free: 3.254 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.003113/6.73, allocations: 2.161 MB / 2.89 GB, free: 0.9805 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/6.73, allocations: 146.5 kB / 2.89 GB, free: 0.8281 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/6.73, allocations: 84.83 kB / 2.89 GB, free: 0.7422 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.499e-05/6.73, allocations: 4 kB / 2.89 GB, free: 0.7383 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/6.73, allocations: 42.5 kB / 2.89 GB, free: 0.6875 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 2.184e-06/6.73, allocations: 0 / 2.89 GB, free: 0.6875 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.001696/6.732, allocations: 441.8 kB / 2.891 GB, free: 252 kB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/6.732, allocations: 81.06 kB / 2.891 GB, free: 152 kB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4574/7.189, allocations: 490.1 kB / 2.891 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001279/7.19, allocations: 34.23 kB / 2.891 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002784/7.19, allocations: 300 kB / 2.892 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.513e-05/7.19, allocations: 38.48 kB / 2.892 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.451e-05/7.19, allocations: 4.375 kB / 2.892 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001453/7.19, allocations: 359.4 kB / 2.892 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002632/7.191, allocations: 103.9 kB / 2.892 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003223/7.191, allocations: 186.5 kB / 2.892 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002884/7.191, allocations: 121 kB / 2.892 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-06/7.191, allocations: 1.062 kB / 2.892 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002232/7.193, allocations: 0.5529 MB / 2.893 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/7.193, allocations: 11.94 kB / 2.893 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/7.193, allocations: 3.125 kB / 2.893 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005473/7.194, allocations: 132.8 kB / 2.893 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004094/7.194, allocations: 81.02 kB / 2.893 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003597/7.198, allocations: 1.931 MB / 2.895 GB, free: 133.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008358/7.199, allocations: 93.25 kB / 2.895 GB, free: 133.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.111e-05/7.199, allocations: 12.95 kB / 2.895 GB, free: 133.8 MB / 0.6042 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 () * 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.0001488/7.199, allocations: 119 kB / 2.895 GB, free: 133.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/7.199, allocations: 56.83 kB / 2.895 GB, free: 133.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001473/7.199, allocations: 51.22 kB / 2.895 GB, free: 133.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/7.199, allocations: 4.844 kB / 2.895 GB, free: 133.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/7.199, allocations: 3.984 kB / 2.895 GB, free: 133.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/7.199, allocations: 2.016 kB / 2.895 GB, free: 133.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00282/7.202, allocations: 0.9433 MB / 2.896 GB, free: 133.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/7.202, allocations: 3.656 kB / 2.896 GB, free: 133.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002701/7.203, allocations: 48.59 kB / 2.896 GB, free: 133.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000437/7.203, allocations: 128.5 kB / 2.897 GB, free: 133.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.875e-05/7.203, allocations: 11.52 kB / 2.897 GB, free: 133.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002572/7.206, allocations: 1.806 MB / 2.898 GB, free: 132.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/7.206, allocations: 0.8125 kB / 2.898 GB, free: 132.1 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/7.207, allocations: 0.5556 MB / 2.899 GB, free: 131.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002649/7.208, allocations: 164.9 kB / 2.899 GB, free: 131.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.114e-05/7.208, allocations: 2.062 kB / 2.899 GB, free: 131.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000607/7.208, allocations: 70.53 kB / 2.899 GB, free: 131.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.198e-05/7.209, allocations: 13.16 kB / 2.899 GB, free: 131.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.046e-05/7.209, allocations: 12.25 kB / 2.899 GB, free: 131.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005641/7.209, allocations: 388.3 kB / 2.899 GB, free: 131.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/7.209, allocations: 0 / 2.899 GB, free: 131.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001187/7.21, allocations: 268 kB / 2.9 GB, free: 131.7 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.003394/7.214, allocations: 2.136 MB / 2.902 GB, free: 130.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001262/7.215, allocations: 461.6 kB / 2.902 GB, free: 130.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/7.215, allocations: 3.5 kB / 2.902 GB, free: 130.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002929/7.215, allocations: 216.5 kB / 2.902 GB, free: 130.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/7.217, allocations: 297.1 kB / 2.903 GB, free: 130.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002801/7.22, allocations: 0.8425 MB / 2.904 GB, free: 130.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004275/7.22, allocations: 0.8724 MB / 2.904 GB, free: 129.5 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000468/7.22, allocations: 102.6 kB / 2.905 GB, free: 129.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000224/7.221, allocations: 160 kB / 2.905 GB, free: 129.5 MB / 0.6042 GB Notification: Performance of SimCode: time 6.21e-07/7.221, allocations: 0 / 2.905 GB, free: 129.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06659/7.287, allocations: 33.79 MB / 2.938 GB, free: 128.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001647/7.287, allocations: 243.8 kB / 2.938 GB, free: 128.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.937/10.22, allocations: 0 / 2.938 GB, free: 128.5 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)