Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_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.01334/0.01334, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.218/1.218, allocations: 135.2 MB / 151 MB, free: 13.81 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.794/2.794, allocations: 223.2 MB / 406.8 MB, free: 3.223 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.001303/0.001303, allocations: 102 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005169/0.000517, allocations: 8 kB / 0.5692 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8336/0.8342, allocations: 82.31 MB / 0.6495 GB, free: 36.08 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.506/9.34, allocations: 1.944 GB / 2.594 GB, free: 30.48 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004127/9.341, allocations: 87.95 kB / 2.594 GB, free: 30.39 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.923/12.26, allocations: 400.9 MB / 2.986 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.296e-06/12.26, allocations: 0 / 2.986 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.736e-05/12.26, allocations: 16 kB / 2.986 GB, free: 162.8 MB / 0.6823 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.002988/12.27, allocations: 0.9572 MB / 2.986 GB, free: 161.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.448e-05/12.27, allocations: 8.031 kB / 2.986 GB, free: 161.9 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001636/12.27, allocations: 82.53 kB / 2.987 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002494/12.27, allocations: 263.6 kB / 2.987 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001586/12.27, allocations: 495.3 kB / 2.987 GB, free: 161.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004951/12.27, allocations: 98.66 kB / 2.987 GB, free: 161 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.669e-05/12.27, allocations: 40 kB / 2.987 GB, free: 161 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001964/12.27, allocations: 0.6347 MB / 2.988 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.893e-05/12.27, allocations: 1.656 kB / 2.988 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.13e-05/12.27, allocations: 23.95 kB / 2.988 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.305e-05/12.27, allocations: 17 kB / 2.988 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002175/12.28, allocations: 0.5738 MB / 2.989 GB, free: 159.7 MB / 0.6823 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.005324/12.28, allocations: 2.151 MB / 2.991 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/12.28, allocations: 286.8 kB / 2.991 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.119e-05/12.28, allocations: 0 / 2.991 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.185e-05/12.28, allocations: 41.19 kB / 2.991 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 3.487e-06/12.28, allocations: 3.703 kB / 2.991 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.007919/12.29, allocations: 1.129 MB / 2.992 GB, free: 156.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/12.29, allocations: 77.11 kB / 2.992 GB, free: 156 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/12.29, allocations: 0.4902 MB / 2.993 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001141/12.29, allocations: 29.69 kB / 2.993 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003476/12.29, allocations: 308.5 kB / 2.993 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/12.29, allocations: 46.75 kB / 2.993 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.473e-05/12.29, allocations: 4 kB / 2.993 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002181/12.29, allocations: 354.8 kB / 2.993 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009314/12.29, allocations: 190.5 kB / 2.994 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009906/12.3, allocations: 281.3 kB / 2.994 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009353/12.3, allocations: 211 kB / 2.994 GB, free: 154 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/12.3, allocations: 2.875 kB / 2.994 GB, free: 154 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.004398/12.3, allocations: 0.7435 MB / 2.995 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.574e-05/12.3, allocations: 11.98 kB / 2.995 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/12.3, allocations: 0 / 2.995 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/12.3, allocations: 159.8 kB / 2.995 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005931/12.3, allocations: 88.91 kB / 2.995 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006321/12.31, allocations: 2.133 MB / 2.997 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/12.31, allocations: 100.9 kB / 2.997 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.522e-05/12.31, allocations: 8 kB / 2.997 GB, free: 150.7 MB / 0.6823 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.0007223/12.31, allocations: 200 kB / 2.997 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003369/12.31, allocations: 55.38 kB / 2.997 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003012/12.31, allocations: 50.19 kB / 2.998 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/12.31, allocations: 0 / 2.998 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/12.31, allocations: 0 / 2.998 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/12.31, allocations: 4 kB / 2.998 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004519/12.32, allocations: 1.125 MB / 2.999 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/12.32, allocations: 0 / 2.999 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002931/12.32, allocations: 52.27 kB / 2.999 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00065/12.32, allocations: 168.3 kB / 2.999 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.327e-05/12.32, allocations: 4 kB / 2.999 GB, free: 149 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004634/12.32, allocations: 2.021 MB / 3.001 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/12.32, allocations: 8.094 kB / 3.001 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003153/12.33, allocations: 0.7308 MB / 3.002 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005412/12.33, allocations: 164.4 kB / 3.002 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.137e-05/12.33, allocations: 8 kB / 3.002 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007659/12.33, allocations: 59.94 kB / 3.002 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/12.33, allocations: 15.98 kB / 3.002 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.403e-05/12.33, allocations: 11.98 kB / 3.002 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000664/12.33, allocations: 390.8 kB / 3.002 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.01e-07/12.33, allocations: 0 / 3.002 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001666/12.33, allocations: 275.7 kB / 3.002 GB, free: 145.2 MB / 0.6823 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.005679/12.34, allocations: 2.332 MB / 3.005 GB, free: 143 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002647/12.34, allocations: 0.6117 MB / 3.005 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/12.34, allocations: 0 / 3.005 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008303/12.34, allocations: 310.9 kB / 3.006 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0021/12.34, allocations: 297.1 kB / 3.006 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/12.35, allocations: 4.818 MB / 3.011 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005128/12.35, allocations: 0.8741 MB / 3.011 GB, free: 136 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008487/12.35, allocations: 101.2 kB / 3.012 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003056/12.35, allocations: 155.4 kB / 3.012 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of SimCode: time 2.545e-06/12.35, allocations: 0 / 3.012 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07826/12.43, allocations: 31.16 MB / 3.042 GB, free: 105 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002624/12.43, allocations: 274.2 kB / 3.042 GB, free: 104.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.962/17.39, allocations: 2.672 kB / 3.042 GB, free: 104.6 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)