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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.693/0.693, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001/0.001, allocations: 179.1 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.247/1.247, allocations: 221.3 MB / 441.4 MB, free: 4.602 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007572/0.0007572, allocations: 96.14 kB / 0.5124 GB, free: 24.24 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001637/0.001638, allocations: 265.8 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.519e-05/3.521e-05, allocations: 4 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3673, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.686/4.053, allocations: 1.942 GB / 2.706 GB, free: 104.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/4.054, allocations: 83.95 kB / 2.706 GB, free: 104.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.357/5.411, allocations: 400.5 MB / 3.097 GB, free: 189.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.042e-06/5.411, allocations: 0 / 3.097 GB, free: 189.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.042e-05/5.411, allocations: 15.58 kB / 3.097 GB, free: 189.1 MB / 0.698 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.001421/5.412, allocations: 0.8837 MB / 3.098 GB, free: 188.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/5.412, allocations: 11.12 kB / 3.098 GB, free: 188.7 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.805e-05/5.412, allocations: 85.83 kB / 3.098 GB, free: 188.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/5.414, allocations: 259.6 kB / 3.099 GB, free: 188.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007441/5.415, allocations: 477.9 kB / 3.099 GB, free: 188.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002938/5.415, allocations: 99.33 kB / 3.099 GB, free: 188.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.908e-05/5.415, allocations: 45.44 kB / 3.099 GB, free: 188.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007273/5.416, allocations: 0.5437 MB / 3.1 GB, free: 188.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/5.416, allocations: 3.781 kB / 3.1 GB, free: 188.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.148e-05/5.416, allocations: 16.12 kB / 3.1 GB, free: 188.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.267e-05/5.416, allocations: 19.09 kB / 3.1 GB, free: 188.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005696/5.416, allocations: 413 kB / 3.1 GB, free: 188.3 MB / 0.698 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.002768/5.419, allocations: 2.154 MB / 3.102 GB, free: 187.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/5.419, allocations: 146.7 kB / 3.102 GB, free: 187.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/5.42, allocations: 87.27 kB / 3.102 GB, free: 187.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/5.42, allocations: 0 / 3.102 GB, free: 187.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/5.42, allocations: 49.34 kB / 3.102 GB, free: 187.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 9.52e-07/5.42, allocations: 0 / 3.102 GB, free: 187.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.001459/5.421, allocations: 436.3 kB / 3.103 GB, free: 187.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/5.421, allocations: 77.11 kB / 3.103 GB, free: 187.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004213/5.422, allocations: 489.1 kB / 3.103 GB, free: 187 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/5.422, allocations: 32.83 kB / 3.103 GB, free: 187 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/5.422, allocations: 310.2 kB / 3.104 GB, free: 186.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/5.422, allocations: 36.11 kB / 3.104 GB, free: 186.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.742e-05/5.422, allocations: 6.938 kB / 3.104 GB, free: 186.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.442e-05/5.422, allocations: 355.2 kB / 3.104 GB, free: 186.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/5.422, allocations: 107.5 kB / 3.104 GB, free: 186.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/5.422, allocations: 192.9 kB / 3.104 GB, free: 186.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/5.422, allocations: 124.9 kB / 3.105 GB, free: 186.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/5.422, allocations: 0 / 3.105 GB, free: 186.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001449/5.424, allocations: 0.5556 MB / 3.105 GB, free: 186.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/5.424, allocations: 10.28 kB / 3.105 GB, free: 186.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/5.424, allocations: 0 / 3.105 GB, free: 186.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003488/5.424, allocations: 135.7 kB / 3.105 GB, free: 186.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000317/5.425, allocations: 78.84 kB / 3.105 GB, free: 186.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00254/5.427, allocations: 1.934 MB / 3.107 GB, free: 185 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005793/5.428, allocations: 97.89 kB / 3.107 GB, free: 185 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-05/5.428, allocations: 16.08 kB / 3.107 GB, free: 185 MB / 0.698 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.0001014/5.428, allocations: 122.1 kB / 3.107 GB, free: 184.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.953e-05/5.428, allocations: 49.75 kB / 3.107 GB, free: 184.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.47e-05/5.428, allocations: 54.92 kB / 3.107 GB, free: 184.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/5.428, allocations: 0 / 3.107 GB, free: 184.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-06/5.428, allocations: 3.125 kB / 3.107 GB, free: 184.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/5.428, allocations: 0 / 3.107 GB, free: 184.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001859/5.43, allocations: 0.9372 MB / 3.108 GB, free: 184.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/5.43, allocations: 0 / 3.108 GB, free: 184.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/5.43, allocations: 54.95 kB / 3.108 GB, free: 184.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002683/5.43, allocations: 129.5 kB / 3.109 GB, free: 184.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/5.43, allocations: 6.562 kB / 3.109 GB, free: 184.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001797/5.432, allocations: 1.8 MB / 3.11 GB, free: 183.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/5.432, allocations: 3.875 kB / 3.11 GB, free: 183.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/5.434, allocations: 0.5595 MB / 3.111 GB, free: 183.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001935/5.434, allocations: 162 kB / 3.111 GB, free: 183 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.964e-05/5.434, allocations: 2.656 kB / 3.111 GB, free: 183 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005387/5.435, allocations: 66.88 kB / 3.111 GB, free: 183 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.531e-05/5.435, allocations: 7.891 kB / 3.111 GB, free: 183 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/5.435, allocations: 25.3 kB / 3.111 GB, free: 183 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004232/5.435, allocations: 387.7 kB / 3.112 GB, free: 182.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/5.435, allocations: 0 / 3.112 GB, free: 182.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008998/5.436, allocations: 272 kB / 3.112 GB, free: 182.8 MB / 0.698 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.003275/5.439, allocations: 2.142 MB / 3.114 GB, free: 181.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001225/5.44, allocations: 457.8 kB / 3.114 GB, free: 181.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/5.441, allocations: 0.625 kB / 3.114 GB, free: 181.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003223/5.441, allocations: 218.6 kB / 3.115 GB, free: 181.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/5.442, allocations: 289.3 kB / 3.115 GB, free: 181.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/5.445, allocations: 0.8455 MB / 3.116 GB, free: 181.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/5.445, allocations: 0.8696 MB / 3.116 GB, free: 180.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004023/5.445, allocations: 99.75 kB / 3.117 GB, free: 180.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002383/5.446, allocations: 163.1 kB / 3.117 GB, free: 180.6 MB / 0.698 GB Notification: Performance of SimCode: time 3.51e-07/5.446, allocations: 0 / 3.117 GB, free: 180.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04301/5.489, allocations: 33.79 MB / 3.15 GB, free: 179.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001858/5.489, allocations: 261.6 kB / 3.15 GB, free: 179.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.751/8.24, allocations: 4 kB / 3.15 GB, free: 179.1 MB / 0.698 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/linux/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)