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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001787/0.001787, allocations: 96.66 kB / 15.7 MB, free: 468 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.002824/0.002824, allocations: 173.7 kB / 16.57 MB, free: 6.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.582/2.582, allocations: 223.2 MB / 240.5 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.252/1.252, allocations: 113.7 MB / 405.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006903/0.000691, allocations: 8 kB / 493 MB, free: 8.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3522, allocations: 77.12 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 1.172/1.524, allocations: 143 MB / 0.6964 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01475/1.539, allocations: 4.118 MB / 0.7004 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00222/1.541, allocations: 15.88 kB / 0.7004 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002876/1.544, allocations: 314.6 kB / 0.7007 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008283/1.553, allocations: 1.005 MB / 0.7017 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005967/1.559, allocations: 0.779 MB / 0.7025 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004179/1.563, allocations: 0.7616 MB / 0.7032 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001883/1.565, allocations: 368.3 kB / 0.7035 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003149/1.568, allocations: 0.514 MB / 0.7041 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/1.57, allocations: 294.9 kB / 0.7043 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002772/1.57, allocations: 20 kB / 0.7044 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003963/1.574, allocations: 0.6357 MB / 0.705 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005038/1.574, allocations: 167.5 kB / 0.7051 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005075/1.575, allocations: 145.4 kB / 0.7053 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002096/1.577, allocations: 0.7918 MB / 0.706 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/1.577, allocations: 0 / 0.706 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of FrontEnd: time 5.34e-06/1.577, allocations: 4 kB / 0.706 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.376e-05/1.577, allocations: 0 / 0.706 GB, free: 1.191 MB / 0.5137 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.003531/1.581, allocations: 0.8463 MB / 0.7069 GB, free: 304 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 8.651e-05/1.581, allocations: 15.97 kB / 0.7069 GB, free: 288 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003951/1.581, allocations: 82.53 kB / 0.707 GB, free: 196 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003128/1.584, allocations: 283.1 kB / 0.7072 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001719/1.586, allocations: 473.7 kB / 0.7077 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004784/1.587, allocations: 100.9 kB / 0.7078 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/1.587, allocations: 44 kB / 0.7078 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002548/1.589, allocations: 0.6302 MB / 0.7084 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/1.589, allocations: 0 / 0.7084 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/1.59, allocations: 20 kB / 0.7085 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.893e-05/1.59, allocations: 17 kB / 0.7085 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/1.592, allocations: 0.5893 MB / 0.7091 GB, free: 13.99 MB / 0.5294 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.005303/1.597, allocations: 2.308 MB / 0.7113 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001442/1.598, allocations: 306.3 kB / 0.7116 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 5.735e-05/1.599, allocations: 4 kB / 0.7116 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.65e-05/1.599, allocations: 42.44 kB / 0.7116 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 6.362e-06/1.599, allocations: 0 / 0.7116 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.00789/1.607, allocations: 1.184 MB / 0.7128 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.86e-05/1.607, allocations: 81.11 kB / 0.7129 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009916/1.608, allocations: 0.5457 MB / 0.7134 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.521e-05/1.608, allocations: 29.92 kB / 0.7134 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003002/1.608, allocations: 303.4 kB / 0.7137 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.3e-05/1.608, allocations: 43.42 kB / 0.7138 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.196e-05/1.608, allocations: 4 kB / 0.7138 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002535/1.608, allocations: 358.8 kB / 0.7141 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006796/1.609, allocations: 211.8 kB / 0.7143 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/1.61, allocations: 285.3 kB / 0.7146 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/1.612, allocations: 218.8 kB / 0.7148 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/1.612, allocations: 0 / 0.7148 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.005583/1.617, allocations: 0.7786 MB / 0.7156 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.505e-05/1.617, allocations: 10.34 kB / 0.7156 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/1.617, allocations: 4 kB / 0.7156 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/1.619, allocations: 188.7 kB / 0.7158 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008285/1.619, allocations: 83.88 kB / 0.7158 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008997/1.628, allocations: 2.234 MB / 0.718 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/1.63, allocations: 91.55 kB / 0.7181 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.402e-05/1.63, allocations: 8 kB / 0.7181 GB, free: 4.316 MB / 0.5294 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 (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.0007324/1.631, allocations: 197.7 kB / 0.7183 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003141/1.631, allocations: 47.44 kB / 0.7183 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002962/1.632, allocations: 60.86 kB / 0.7184 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/1.632, allocations: 0 / 0.7184 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/1.632, allocations: 0 / 0.7184 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/1.632, allocations: 4 kB / 0.7184 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005169/1.637, allocations: 1.187 MB / 0.7196 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/1.637, allocations: 8 kB / 0.7196 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003734/1.637, allocations: 44.33 kB / 0.7196 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008407/1.638, allocations: 196.7 kB / 0.7198 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.357e-05/1.638, allocations: 4 kB / 0.7198 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00633/1.645, allocations: 2.116 MB / 0.7219 GB, free: 256 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/1.645, allocations: 0 / 0.7219 GB, free: 256 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005029/1.65, allocations: 0.77 MB / 0.7226 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006884/1.65, allocations: 168.5 kB / 0.7228 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002556/1.651, allocations: 4 kB / 0.7228 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/1.652, allocations: 68.41 kB / 0.7229 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/1.652, allocations: 19.88 kB / 0.7229 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/1.652, allocations: 11.98 kB / 0.7229 GB, free: 15.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001022/1.653, allocations: 394.8 kB / 0.7233 GB, free: 14.78 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.6e-07/1.653, allocations: 0 / 0.7233 GB, free: 14.78 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001515/1.655, allocations: 183.7 kB / 0.7234 GB, free: 14.6 MB / 0.545 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 (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.006225/1.661, allocations: 1.526 MB / 0.7249 GB, free: 13.03 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003983/1.665, allocations: 0.6429 MB / 0.7256 GB, free: 12.38 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-05/1.665, allocations: 4 kB / 0.7256 GB, free: 12.37 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001488/1.667, allocations: 322.9 kB / 0.7259 GB, free: 12.04 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003265/1.67, allocations: 294.1 kB / 0.7261 GB, free: 11.77 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02106/1.691, allocations: 4.895 MB / 0.7309 GB, free: 6.781 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009918/1.692, allocations: 0.8776 MB / 0.7318 GB, free: 5.875 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001342/1.694, allocations: 104.5 kB / 0.7319 GB, free: 5.77 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004872/1.694, allocations: 159.4 kB / 0.732 GB, free: 5.613 MB / 0.545 GB Notification: Performance of SimCode: time 2.706e-06/1.694, allocations: 0 / 0.732 GB, free: 5.613 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09281/1.787, allocations: 15.96 MB / 0.7476 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004464/1.788, allocations: 272 kB / 0.7479 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.717/5.505, allocations: 1.875 kB / 0.7479 GB, free: 5.676 MB / 0.5606 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) Environment - environmentSimulation: