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/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/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: translateModel(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 169.3 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9593/0.9593, allocations: 130.7 MB / 138.7 MB, free: 3.543 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 221.5 MB / 391.8 MB, free: 14.23 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.0009239/0.0009239, allocations: 97 kB / 473.9 MB, free: 4.488 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.711e-05/1.714e-05, allocations: 0 / 0.5485 GB, free: 13.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4276/0.4277, allocations: 81.57 MB / 0.6282 GB, free: 42.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.171/5.599, allocations: 1.943 GB / 2.572 GB, free: 6.844 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003583/5.599, allocations: 83.95 kB / 2.572 GB, free: 6.762 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.92/7.519, allocations: 396.1 MB / 2.958 GB, free: 134.5 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.003e-06/7.519, allocations: 0 / 2.958 GB, free: 134.5 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.24e-05/7.519, allocations: 16 kB / 2.959 GB, free: 134.5 MB / 0.6667 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.002226/7.522, allocations: 0.8736 MB / 2.959 GB, free: 133.6 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.406e-05/7.522, allocations: 11.22 kB / 2.959 GB, free: 133.6 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001539/7.523, allocations: 257.5 kB / 2.96 GB, free: 133.3 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008756/7.524, allocations: 496.6 kB / 2.96 GB, free: 132.8 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003188/7.524, allocations: 83.56 kB / 2.96 GB, free: 132.8 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.94e-05/7.525, allocations: 24 kB / 2.96 GB, free: 132.7 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006424/7.525, allocations: 386.5 kB / 2.961 GB, free: 132.4 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008054/7.526, allocations: 495.9 kB / 2.961 GB, free: 131.8 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/7.526, allocations: 6.719 kB / 2.961 GB, free: 131.8 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.289e-05/7.526, allocations: 0 / 2.961 GB, free: 131.8 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.704e-05/7.526, allocations: 21.25 kB / 2.961 GB, free: 131.8 MB / 0.6667 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.003164/7.529, allocations: 2.035 MB / 2.963 GB, free: 129.7 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/7.53, allocations: 146.5 kB / 2.963 GB, free: 129.6 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/7.53, allocations: 80.83 kB / 2.963 GB, free: 129.5 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 6.379e-05/7.53, allocations: 0 / 2.963 GB, free: 129.5 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/7.53, allocations: 42.06 kB / 2.963 GB, free: 129.4 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=11): time 1.283e-06/7.53, allocations: 0 / 2.963 GB, free: 129.4 MB / 0.6667 GB Notification: Performance of matching and sorting (n=11): time 0.001658/7.531, allocations: 427.5 kB / 2.964 GB, free: 129 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/7.531, allocations: 81.11 kB / 2.964 GB, free: 128.9 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003489/7.532, allocations: 352 kB / 2.964 GB, free: 128.6 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/7.532, allocations: 29.7 kB / 2.964 GB, free: 128.6 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/7.532, allocations: 311.2 kB / 2.964 GB, free: 128.2 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.531e-05/7.532, allocations: 39.45 kB / 2.964 GB, free: 128.2 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.939e-05/7.532, allocations: 0 / 2.964 GB, free: 128.2 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.911e-05/7.532, allocations: 342.8 kB / 2.965 GB, free: 127.9 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/7.532, allocations: 107.3 kB / 2.965 GB, free: 127.8 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/7.533, allocations: 182.5 kB / 2.965 GB, free: 127.5 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/7.533, allocations: 130.4 kB / 2.965 GB, free: 127.4 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/7.533, allocations: 3.938 kB / 2.965 GB, free: 127.4 MB / 0.6667 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001523/7.534, allocations: 0.5336 MB / 2.966 GB, free: 126.9 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/7.534, allocations: 5.25 kB / 2.966 GB, free: 126.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/7.534, allocations: 4 kB / 2.966 GB, free: 126.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003866/7.535, allocations: 128.8 kB / 2.966 GB, free: 126.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003284/7.535, allocations: 83.88 kB / 2.966 GB, free: 126.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002078/7.537, allocations: 1.748 MB / 2.968 GB, free: 124.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005788/7.538, allocations: 75.7 kB / 2.968 GB, free: 124.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/7.538, allocations: 15.98 kB / 2.968 GB, free: 124.7 MB / 0.6667 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaFlo.Q_flow:VARIABLE(unit = "W" ) "Heat flow from port_a to port_b as output signal" type: Real 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.0001747/7.538, allocations: 108.9 kB / 2.968 GB, free: 124.6 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.551e-05/7.538, allocations: 39.53 kB / 2.968 GB, free: 124.6 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.06e-05/7.538, allocations: 39.28 kB / 2.968 GB, free: 124.5 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/7.538, allocations: 7.938 kB / 2.968 GB, free: 124.5 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/7.538, allocations: 4 kB / 2.968 GB, free: 124.5 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/7.538, allocations: 0 / 2.968 GB, free: 124.5 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001902/7.54, allocations: 0.8871 MB / 2.969 GB, free: 123.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/7.54, allocations: 0 / 2.969 GB, free: 123.6 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002078/7.54, allocations: 47.94 kB / 2.969 GB, free: 123.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002706/7.541, allocations: 129 kB / 2.969 GB, free: 123.4 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/7.541, allocations: 7.953 kB / 2.969 GB, free: 123.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001953/7.543, allocations: 1.74 MB / 2.971 GB, free: 121.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/7.543, allocations: 3.938 kB / 2.971 GB, free: 121.5 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/7.544, allocations: 0.5512 MB / 2.971 GB, free: 120.9 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001773/7.544, allocations: 156.6 kB / 2.971 GB, free: 120.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.303e-05/7.544, allocations: 0 / 2.971 GB, free: 120.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005259/7.545, allocations: 67.84 kB / 2.971 GB, free: 120.7 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.64e-05/7.545, allocations: 11.94 kB / 2.971 GB, free: 120.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.467e-05/7.545, allocations: 15.98 kB / 2.971 GB, free: 120.7 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002847/7.545, allocations: 267 kB / 2.972 GB, free: 120.4 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.4e-07/7.545, allocations: 0 / 2.972 GB, free: 120.4 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001122/7.546, allocations: 255.6 kB / 2.972 GB, free: 120.2 MB / 0.6667 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.001758/7.548, allocations: 1.133 MB / 2.973 GB, free: 119.2 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0006629/7.549, allocations: 353.4 kB / 2.973 GB, free: 118.8 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/7.549, allocations: 0 / 2.973 GB, free: 118.8 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002337/7.549, allocations: 202.4 kB / 2.974 GB, free: 118.6 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009661/7.55, allocations: 179.9 kB / 2.974 GB, free: 118.4 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/7.552, allocations: 0.6817 MB / 2.974 GB, free: 117.7 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/7.553, allocations: 0.8815 MB / 2.975 GB, free: 116.8 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003786/7.553, allocations: 79.23 kB / 2.975 GB, free: 116.7 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.129e-05/7.553, allocations: 31.42 kB / 2.975 GB, free: 116.7 MB / 0.6667 GB Notification: Performance of SimCode: time 2.6e-07/7.553, allocations: 0 / 2.975 GB, free: 116.7 MB / 0.6667 GB Notification: Performance of Templates: time 0.02417/7.578, allocations: 13.82 MB / 2.989 GB, free: 103 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (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 & ./IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)