Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8178/0.8178, allocations: 130.6 MB / 143.8 MB, free: 13.59 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.879/1.879, allocations: 221.3 MB / 396.8 MB, free: 9.164 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009975/0.0009973, allocations: 97.72 kB / 479 MB, free: 10.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.72e-05/3.722e-05, allocations: 4.094 kB / 0.5551 GB, free: 86.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.173, allocations: 81.59 MB / 0.6348 GB, free: 12.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.501/4.674, allocations: 1.837 GB / 2.471 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/4.675, allocations: 83.95 kB / 2.471 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.063/8.738, allocations: 1.018 GB / 3.49 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.102e-06/8.738, allocations: 0 / 3.49 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001111/8.738, allocations: 48.59 kB / 3.49 GB, free: 108.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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.006658/8.745, allocations: 1.827 MB / 3.491 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/8.745, allocations: 11.19 kB / 3.491 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004186/8.749, allocations: 0.6939 MB / 3.492 GB, free: 108 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003203/8.752, allocations: 1.05 MB / 3.493 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.755e-05/8.752, allocations: 61.31 kB / 3.493 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002018/8.753, allocations: 93.08 kB / 3.493 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001959/8.755, allocations: 1.257 MB / 3.494 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/8.755, allocations: 3.938 kB / 3.494 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/8.755, allocations: 41.88 kB / 3.494 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.046e-05/8.755, allocations: 39.06 kB / 3.495 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/8.756, allocations: 0.9927 MB / 3.495 GB, free: 107.4 MB / 0.6823 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.007904/8.764, allocations: 5.795 MB / 3.501 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001522/8.766, allocations: 0.9321 MB / 3.502 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006644/8.767, allocations: 0.4984 MB / 3.503 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007415/8.767, allocations: 0.5757 MB / 3.503 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008512/8.768, allocations: 0.6038 MB / 3.504 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=80): time 4.669e-06/8.768, allocations: 0 / 3.504 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=80): time 0.002384/8.771, allocations: 1.098 MB / 3.505 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/8.771, allocations: 62.41 kB / 3.505 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/8.772, allocations: 1.087 MB / 3.506 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.762e-05/8.772, allocations: 45.02 kB / 3.506 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003877/8.772, allocations: 0.5892 MB / 3.507 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002413/8.773, allocations: 268.8 kB / 3.507 GB, free: 102 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.836e-05/8.773, allocations: 18.69 kB / 3.507 GB, free: 102 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.781e-05/8.773, allocations: 341.6 kB / 3.507 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000622/8.773, allocations: 418.6 kB / 3.508 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008206/8.774, allocations: 0.7263 MB / 3.508 GB, free: 101 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006706/8.775, allocations: 466 kB / 3.509 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/8.775, allocations: 6.859 kB / 3.509 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001902/8.777, allocations: 1.247 MB / 3.51 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/8.777, allocations: 7.875 kB / 3.51 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/8.777, allocations: 7.875 kB / 3.51 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.09e-05/8.777, allocations: 14.12 kB / 3.51 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/8.778, allocations: 314.3 kB / 3.51 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.082e-05/8.778, allocations: 26.86 kB / 3.51 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/8.78, allocations: 233.9 kB / 3.51 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/8.78, allocations: 56.31 kB / 3.511 GB, free: 100.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * 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.0002373/8.78, allocations: 173.3 kB / 3.511 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/8.781, allocations: 144.1 kB / 3.511 GB, free: 100.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002132/8.783, allocations: 1.217 MB / 3.512 GB, free: 99.67 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/8.783, allocations: 11.47 kB / 3.512 GB, free: 99.67 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/8.783, allocations: 0 / 3.512 GB, free: 99.67 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/8.783, allocations: 3.75 kB / 3.512 GB, free: 99.67 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004061/8.787, allocations: 2.737 MB / 3.515 GB, free: 98.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/8.787, allocations: 3.75 kB / 3.515 GB, free: 98.51 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001262/8.788, allocations: 252.5 kB / 3.515 GB, free: 98.47 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.228e-05/8.788, allocations: 9 kB / 3.515 GB, free: 98.47 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-05/8.788, allocations: 31.09 kB / 3.515 GB, free: 98.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.857e-06/8.788, allocations: 15.02 kB / 3.515 GB, free: 98.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/8.788, allocations: 3.969 kB / 3.515 GB, free: 98.45 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002683/8.791, allocations: 2.187 MB / 3.517 GB, free: 97.04 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006411/8.792, allocations: 346.1 kB / 3.517 GB, free: 96.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/8.792, allocations: 19.81 kB / 3.517 GB, free: 96.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/8.793, allocations: 146.1 kB / 3.518 GB, free: 96.71 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/8.793, allocations: 66 kB / 3.518 GB, free: 96.67 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-05/8.793, allocations: 41.98 kB / 3.518 GB, free: 96.66 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001052/8.794, allocations: 0.843 MB / 3.519 GB, free: 96.24 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.81e-07/8.794, allocations: 2.281 kB / 3.519 GB, free: 96.24 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001911/8.796, allocations: 0.505 MB / 3.519 GB, free: 96.09 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.003336/8.8, allocations: 1.962 MB / 3.521 GB, free: 95.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00187/8.801, allocations: 1.051 MB / 3.522 GB, free: 94.85 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/8.801, allocations: 0 / 3.522 GB, free: 94.85 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007749/8.802, allocations: 0.5352 MB / 3.522 GB, free: 94.37 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002649/8.805, allocations: 0.5492 MB / 3.523 GB, free: 93.85 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01324/8.818, allocations: 2.765 MB / 3.526 GB, free: 91.15 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005675/8.819, allocations: 1.204 MB / 3.527 GB, free: 89.91 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001728/8.82, allocations: 381.4 kB / 3.527 GB, free: 89.55 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004494/8.821, allocations: 130.4 kB / 3.527 GB, free: 89.43 MB / 0.6823 GB Notification: Performance of SimCode: time 8.82e-07/8.821, allocations: 0 / 3.527 GB, free: 89.43 MB / 0.6823 GB Notification: Performance of Templates: time 0.05783/8.879, allocations: 46.24 MB / 3.573 GB, free: 43.92 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)