Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IDEAS_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.005495/0.005495, allocations: 172.1 kB / 15.12 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 0.8589/0.8589, allocations: 135.2 MB / 151 MB, free: 13.85 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 223.2 MB / 406.8 MB, free: 3.219 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.0009752/0.0009751, allocations: 97.8 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004021/0.000402, allocations: 8 kB / 0.5691 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.3945, allocations: 82.31 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.193/4.588, allocations: 1.944 GB / 2.594 GB, free: 30.85 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/4.588, allocations: 91.95 kB / 2.594 GB, free: 30.76 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.475/6.063, allocations: 400.9 MB / 2.986 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.272e-06/6.063, allocations: 0 / 2.986 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.569e-05/6.063, allocations: 19.52 kB / 2.986 GB, free: 163.1 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.001791/6.065, allocations: 0.9569 MB / 2.986 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/6.065, allocations: 11.97 kB / 2.986 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.34e-05/6.065, allocations: 82.53 kB / 2.987 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/6.067, allocations: 264.9 kB / 2.987 GB, free: 162 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008623/6.067, allocations: 489.5 kB / 2.987 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000301/6.068, allocations: 99.34 kB / 2.987 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.829e-05/6.068, allocations: 40 kB / 2.987 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/6.069, allocations: 0.6331 MB / 2.988 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/6.069, allocations: 0 / 2.988 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.621e-05/6.069, allocations: 31.89 kB / 2.988 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.06e-05/6.069, allocations: 17 kB / 2.988 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/6.07, allocations: 0.5774 MB / 2.989 GB, free: 160.1 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.003123/6.073, allocations: 2.145 MB / 2.991 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007507/6.074, allocations: 291.2 kB / 2.991 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/6.074, allocations: 3.672 kB / 2.991 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/6.074, allocations: 38.56 kB / 2.991 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 1.874e-06/6.074, allocations: 0 / 2.991 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.004605/6.079, allocations: 1.131 MB / 2.992 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/6.079, allocations: 81.11 kB / 2.992 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004902/6.079, allocations: 497.9 kB / 2.993 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.828e-05/6.079, allocations: 33.64 kB / 2.993 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/6.08, allocations: 303.5 kB / 2.993 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/6.08, allocations: 46.58 kB / 2.993 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.841e-05/6.08, allocations: 4 kB / 2.993 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.882e-05/6.08, allocations: 354.8 kB / 2.993 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005023/6.08, allocations: 190.2 kB / 2.994 GB, free: 155 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005097/6.081, allocations: 280 kB / 2.994 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000478/6.081, allocations: 214.4 kB / 2.994 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/6.081, allocations: 0 / 2.994 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002307/6.084, allocations: 0.7439 MB / 2.995 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/6.084, allocations: 7.984 kB / 2.995 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/6.084, allocations: 7.25 kB / 2.995 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000553/6.084, allocations: 165.3 kB / 2.995 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003392/6.085, allocations: 77.97 kB / 2.995 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003486/6.088, allocations: 2.141 MB / 2.997 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006743/6.089, allocations: 97.06 kB / 2.997 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/6.089, allocations: 8 kB / 2.997 GB, free: 151.2 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.0002711/6.089, allocations: 205.5 kB / 2.997 GB, free: 151 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.164e-05/6.089, allocations: 53.77 kB / 2.997 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.23e-05/6.089, allocations: 52.03 kB / 2.998 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/6.089, allocations: 0 / 2.998 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/6.089, allocations: 0 / 2.998 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/6.089, allocations: 0 / 2.998 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002641/6.092, allocations: 1.128 MB / 2.999 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/6.092, allocations: 0 / 2.999 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002208/6.092, allocations: 51.95 kB / 2.999 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004509/6.093, allocations: 164.3 kB / 2.999 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/6.093, allocations: 0 / 2.999 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002773/6.095, allocations: 2.029 MB / 3.001 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/6.095, allocations: 64 / 3.001 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002226/6.098, allocations: 0.7387 MB / 3.002 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002965/6.098, allocations: 168.4 kB / 3.002 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.412e-05/6.098, allocations: 0 / 3.002 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005693/6.099, allocations: 59.94 kB / 3.002 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.369e-05/6.099, allocations: 19.98 kB / 3.002 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.183e-05/6.099, allocations: 11.98 kB / 3.002 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004243/6.099, allocations: 390.8 kB / 3.002 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/6.099, allocations: 0 / 3.002 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001056/6.1, allocations: 267.7 kB / 3.002 GB, free: 145.6 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.003722/6.104, allocations: 2.335 MB / 3.005 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001826/6.106, allocations: 0.6078 MB / 3.005 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/6.106, allocations: 4 kB / 3.005 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005769/6.106, allocations: 310.9 kB / 3.006 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/6.108, allocations: 296.7 kB / 3.006 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007414/6.115, allocations: 4.82 MB / 3.011 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/6.116, allocations: 0.8701 MB / 3.011 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004889/6.116, allocations: 103.9 kB / 3.012 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001923/6.116, allocations: 159.4 kB / 3.012 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of SimCode: time 7.92e-07/6.116, allocations: 0 / 3.012 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04448/6.161, allocations: 31.14 MB / 3.042 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001545/6.161, allocations: 261.8 kB / 3.042 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.967/9.128, allocations: 8 kB / 3.042 GB, free: 105.1 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)