Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.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.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008165/0.008165, allocations: 173.6 kB / 15.12 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7586/0.7586, allocations: 132.3 MB / 148.1 MB, free: 240 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.763/1.763, allocations: 223.2 MB / 403.2 MB, free: 6.742 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.0009362/0.0009361, allocations: 105.2 kB / 485.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000483/0.0004831, allocations: 8 kB / 0.5641 GB, free: 2.133 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6478/0.6484, allocations: 81.57 MB / 0.6437 GB, free: 39.32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.18/1.828, allocations: 375 MB / 1.01 GB, free: 6.141 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006438/1.829, allocations: 88.14 kB / 1.01 GB, free: 6.094 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.9675/2.797, allocations: 172.1 MB / 1.178 GB, free: 153 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.887e-06/2.797, allocations: 0 / 1.178 GB, free: 153 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.887e-05/2.797, allocations: 15.98 kB / 1.178 GB, free: 152.9 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001828/2.799, allocations: 0.7513 MB / 1.179 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.134e-05/2.799, allocations: 8.031 kB / 1.179 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/2.799, allocations: 47.44 kB / 1.179 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03261/2.832, allocations: 14.72 MB / 1.193 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.248e-05/2.832, allocations: 12.33 kB / 1.193 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.547e-05/2.832, allocations: 24 kB / 1.193 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004192/2.832, allocations: 172.2 kB / 1.193 GB, free: 137 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/2.832, allocations: 3.984 kB / 1.193 GB, free: 137 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/2.832, allocations: 8 kB / 1.193 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/2.832, allocations: 8 kB / 1.193 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002881/2.833, allocations: 132.2 kB / 1.194 GB, free: 136.8 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.001198/2.834, allocations: 0.8412 MB / 1.194 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/2.834, allocations: 114.7 kB / 1.195 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002758/2.834, allocations: 332.4 kB / 1.195 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/2.834, allocations: 38.56 kB / 1.195 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=12): time 2.725e-06/2.834, allocations: 0 / 1.195 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12): time 0.0005261/2.835, allocations: 229.5 kB / 1.195 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/2.835, allocations: 55.41 kB / 1.195 GB, free: 135 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/2.835, allocations: 288.9 kB / 1.195 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/2.835, allocations: 29.7 kB / 1.195 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/2.835, allocations: 192.3 kB / 1.196 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.905e-05/2.835, allocations: 39.36 kB / 1.196 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/2.835, allocations: 0 / 1.196 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001035/2.836, allocations: 342.8 kB / 1.196 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/2.836, allocations: 47.95 kB / 1.196 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/2.836, allocations: 110.8 kB / 1.196 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/2.836, allocations: 60 kB / 1.196 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/2.836, allocations: 0 / 1.196 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003195/2.836, allocations: 169.2 kB / 1.196 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.917e-05/2.836, allocations: 189.9 kB / 1.197 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/2.836, allocations: 0 / 1.197 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/2.836, allocations: 4 kB / 1.197 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/2.837, allocations: 27.92 kB / 1.197 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/2.837, allocations: 0 / 1.197 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002338/2.837, allocations: 43.81 kB / 1.197 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/2.837, allocations: 11.94 kB / 1.197 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.025e-06/2.837, allocations: 4 kB / 1.197 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002626/2.837, allocations: 111.9 kB / 1.197 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-06/2.837, allocations: 4 kB / 1.197 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-06/2.837, allocations: 0 / 1.197 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/2.837, allocations: 31.98 kB / 1.197 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/2.837, allocations: 7.891 kB / 1.197 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/2.837, allocations: 27.91 kB / 1.197 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/2.838, allocations: 8 kB / 1.197 GB, free: 133.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 12 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001929/2.838, allocations: 221.1 kB / 1.197 GB, free: 133 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.015e-05/2.838, allocations: 39.53 kB / 1.197 GB, free: 133 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005033/2.838, allocations: 225.3 kB / 1.197 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/2.838, allocations: 7.922 kB / 1.197 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/2.838, allocations: 7.953 kB / 1.197 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/2.838, allocations: 0 / 1.197 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008758/2.839, allocations: 0.5984 MB / 1.198 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/2.839, allocations: 0 / 1.198 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/2.839, allocations: 32.02 kB / 1.198 GB, free: 132 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/2.839, allocations: 12.12 kB / 1.198 GB, free: 132 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/2.839, allocations: 0 / 1.198 GB, free: 132 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/2.839, allocations: 7.938 kB / 1.198 GB, free: 132 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/2.839, allocations: 0 / 1.198 GB, free: 132 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004497/2.84, allocations: 368.5 kB / 1.198 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/2.84, allocations: 116.7 kB / 1.198 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.021e-05/2.84, allocations: 8 kB / 1.198 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/2.84, allocations: 27.88 kB / 1.198 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.997e-05/2.84, allocations: 19.92 kB / 1.198 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/2.84, allocations: 4 kB / 1.198 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002216/2.841, allocations: 231.2 kB / 1.199 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.21e-07/2.841, allocations: 0 / 1.199 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007586/2.841, allocations: 171.7 kB / 1.199 GB, free: 131 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007923/2.842, allocations: 280.2 kB / 1.199 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005098/2.843, allocations: 195.8 kB / 1.199 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/2.843, allocations: 4 kB / 1.199 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001679/2.843, allocations: 71.89 kB / 1.199 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007599/2.844, allocations: 142.1 kB / 1.2 GB, free: 130.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/2.845, allocations: 0.6754 MB / 1.2 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004257/2.845, allocations: 0.8077 MB / 1.201 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002617/2.845, allocations: 71.33 kB / 1.201 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.357e-05/2.846, allocations: 31.44 kB / 1.201 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of SimCode: time 4.41e-07/2.846, allocations: 0 / 1.201 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of Templates: time 0.0127/2.858, allocations: 6.273 MB / 1.207 GB, free: 122.5 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)