Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.729/1.729, allocations: 292.6 MB / 307.5 MB, free: 5.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001183/0.001183, allocations: 177.1 kB / 377.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.844/1.844, allocations: 205.4 MB / 0.6366 GB, free: 9.461 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000968/0.0009678, allocations: 91.02 kB / 0.7509 GB, free: 62.81 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004928/0.0004929, allocations: 12 kB / 0.8749 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2974, allocations: 116.3 MB / 0.9884 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.822/6.12, allocations: 2.072 GB / 3.061 GB, free: 109.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/6.12, allocations: 88.97 kB / 3.061 GB, free: 109.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.493/7.614, allocations: 390.5 MB / 3.442 GB, free: 94.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.364e-06/7.614, allocations: 3.938 kB / 3.442 GB, free: 94.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.65e-05/7.614, allocations: 16.19 kB / 3.442 GB, free: 94.78 MB / 0.948 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.003157/7.617, allocations: 0.9465 MB / 3.443 GB, free: 93.79 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.221e-05/7.617, allocations: 8.031 kB / 3.443 GB, free: 93.78 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000286/7.617, allocations: 83.73 kB / 3.443 GB, free: 93.69 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001802/7.619, allocations: 267.1 kB / 3.443 GB, free: 93.43 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/7.62, allocations: 487.5 kB / 3.444 GB, free: 92.91 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003313/7.621, allocations: 92.94 kB / 3.444 GB, free: 92.82 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/7.621, allocations: 40.86 kB / 3.444 GB, free: 92.78 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/7.622, allocations: 0.6358 MB / 3.445 GB, free: 92.11 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/7.622, allocations: 0.8594 kB / 3.445 GB, free: 92.11 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-05/7.622, allocations: 20 kB / 3.445 GB, free: 92.09 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.412e-05/7.623, allocations: 20.98 kB / 3.445 GB, free: 92.07 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/7.624, allocations: 0.5815 MB / 3.445 GB, free: 91.49 MB / 0.948 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.003512/7.627, allocations: 2.154 MB / 3.447 GB, free: 89.22 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007702/7.628, allocations: 298.2 kB / 3.448 GB, free: 88.92 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/7.628, allocations: 0 / 3.448 GB, free: 88.92 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/7.628, allocations: 38.56 kB / 3.448 GB, free: 88.87 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/7.628, allocations: 0 / 3.448 GB, free: 88.87 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.004699/7.633, allocations: 1.127 MB / 3.449 GB, free: 87.71 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/7.633, allocations: 81.06 kB / 3.449 GB, free: 87.62 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005477/7.634, allocations: 490.1 kB / 3.449 GB, free: 87.13 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.434e-05/7.634, allocations: 29.7 kB / 3.449 GB, free: 87.09 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/7.634, allocations: 303.6 kB / 3.45 GB, free: 86.79 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.987e-05/7.634, allocations: 39.55 kB / 3.45 GB, free: 86.75 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.737e-05/7.634, allocations: 7.938 kB / 3.45 GB, free: 86.75 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001154/7.634, allocations: 358.8 kB / 3.45 GB, free: 86.39 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004688/7.635, allocations: 187.9 kB / 3.45 GB, free: 86.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005169/7.635, allocations: 282.3 kB / 3.45 GB, free: 85.89 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004797/7.636, allocations: 211.3 kB / 3.451 GB, free: 85.68 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/7.636, allocations: 0 / 3.451 GB, free: 85.68 MB / 0.948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002322/7.638, allocations: 0.7423 MB / 3.451 GB, free: 84.93 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/7.638, allocations: 4 kB / 3.451 GB, free: 84.93 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/7.638, allocations: 4 kB / 3.451 GB, free: 84.93 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005676/7.639, allocations: 172.8 kB / 3.451 GB, free: 84.75 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003517/7.639, allocations: 79.88 kB / 3.452 GB, free: 84.68 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003691/7.643, allocations: 2.168 MB / 3.454 GB, free: 82.38 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006912/7.643, allocations: 91.55 kB / 3.454 GB, free: 82.29 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.889e-05/7.643, allocations: 11.98 kB / 3.454 GB, free: 82.28 MB / 0.948 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.0003271/7.644, allocations: 189.8 kB / 3.454 GB, free: 82.08 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.018e-05/7.644, allocations: 51.38 kB / 3.454 GB, free: 82.03 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.156e-05/7.644, allocations: 51.95 kB / 3.454 GB, free: 81.98 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/7.644, allocations: 0 / 3.454 GB, free: 81.98 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/7.644, allocations: 0 / 3.454 GB, free: 81.98 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/7.644, allocations: 4 kB / 3.454 GB, free: 81.98 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002608/7.647, allocations: 1.125 MB / 3.455 GB, free: 80.79 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/7.647, allocations: 0 / 3.455 GB, free: 80.79 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/7.647, allocations: 39.97 kB / 3.455 GB, free: 80.75 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004263/7.647, allocations: 176.7 kB / 3.455 GB, free: 80.57 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/7.647, allocations: 3.984 kB / 3.455 GB, free: 80.57 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002791/7.65, allocations: 2.014 MB / 3.457 GB, free: 78.42 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/7.65, allocations: 3.938 kB / 3.457 GB, free: 78.42 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002152/7.652, allocations: 0.7464 MB / 3.458 GB, free: 77.63 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002525/7.652, allocations: 164.5 kB / 3.458 GB, free: 77.45 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.993e-05/7.653, allocations: 0 / 3.458 GB, free: 77.45 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005769/7.653, allocations: 71.83 kB / 3.458 GB, free: 77.38 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.915e-05/7.653, allocations: 15.98 kB / 3.458 GB, free: 77.37 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.074e-05/7.653, allocations: 15.98 kB / 3.458 GB, free: 77.35 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003972/7.654, allocations: 382.8 kB / 3.459 GB, free: 76.98 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.41e-07/7.654, allocations: 0 / 3.459 GB, free: 76.98 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001074/7.655, allocations: 263.8 kB / 3.459 GB, free: 76.72 MB / 0.948 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.003811/7.659, allocations: 2.33 MB / 3.461 GB, free: 74.36 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001794/7.66, allocations: 0.6154 MB / 3.462 GB, free: 73.73 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/7.66, allocations: 0 / 3.462 GB, free: 73.73 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006395/7.661, allocations: 302.9 kB / 3.462 GB, free: 73.43 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/7.663, allocations: 294 kB / 3.462 GB, free: 73.14 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008423/7.671, allocations: 4.814 MB / 3.467 GB, free: 68.22 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/7.671, allocations: 0.874 MB / 3.468 GB, free: 67.32 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005279/7.672, allocations: 96.53 kB / 3.468 GB, free: 67.22 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000187/7.672, allocations: 155.4 kB / 3.468 GB, free: 67.07 MB / 0.948 GB Notification: Performance of SimCode: time 8.01e-07/7.672, allocations: 0 / 3.468 GB, free: 67.07 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04979/7.722, allocations: 31.12 MB / 3.499 GB, free: 36.16 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002185/7.722, allocations: 264.4 kB / 3.499 GB, free: 35.81 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.209/10.93, allocations: 4 kB / 3.499 GB, free: 35.81 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)