Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 225.6 MB / 249.9 MB, free: 13.61 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8359/0.8359, allocations: 134 MB / 439 MB, free: 0.7383 MB / 334.1 MB [Timeout remaining time 89] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 64 kB / 0.6088 GB, free: 14.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1902, allocations: 84.68 MB / 0.6915 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03486/0.2251, allocations: 29.56 MB / 0.7203 GB, free: 12.09 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01196/0.237, allocations: 6.87 MB / 0.727 GB, free: 5.195 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001525/0.2386, allocations: 51.62 kB / 0.7271 GB, free: 5.145 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001995/0.2406, allocations: 0.707 MB / 0.7278 GB, free: 4.434 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005538/0.2461, allocations: 1.509 MB / 0.7293 GB, free: 2.918 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003637/0.2497, allocations: 1.171 MB / 0.7304 GB, free: 1.758 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004174/0.2539, allocations: 2.496 MB / 0.7328 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001414/0.2553, allocations: 0.685 MB / 0.7335 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002375/0.2577, allocations: 1.043 MB / 0.7345 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001541/0.2592, allocations: 0.8675 MB / 0.7354 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001595/0.2594, allocations: 67.94 kB / 0.7354 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002246/0.2616, allocations: 0.8538 MB / 0.7363 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003692/0.262, allocations: 286.8 kB / 0.7365 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000847/0.2629, allocations: 0.5476 MB / 0.7371 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003196/0.2661, allocations: 1.646 MB / 0.7387 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2661, allocations: 0 / 0.7387 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2661, allocations: 0 / 0.7387 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.525e-05/0.2661, allocations: 4 kB / 0.7387 GB, free: 9.227 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.003229/0.2693, allocations: 1.612 MB / 0.7403 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.2694, allocations: 8.031 kB / 0.7403 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003661/0.273, allocations: 0.5931 MB / 0.7408 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001807/0.2748, allocations: 0.892 MB / 0.7417 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.837e-05/0.2749, allocations: 61.98 kB / 0.7418 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001835/0.2751, allocations: 71.94 kB / 0.7418 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002675/0.2778, allocations: 1.099 MB / 0.7429 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.2778, allocations: 0 / 0.7429 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.397e-05/0.2779, allocations: 28 kB / 0.7429 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.007e-05/0.2779, allocations: 20 kB / 0.743 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003137/0.281, allocations: 1.008 MB / 0.7439 GB, free: 3.645 MB / 0.5606 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.007135/0.2881, allocations: 4.948 MB / 0.7488 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003085/0.2912, allocations: 0.876 MB / 0.7496 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001504/0.2927, allocations: 463.1 kB / 0.7501 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001625/0.2944, allocations: 1.591 MB / 0.7516 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001764/0.2961, allocations: 0.5729 MB / 0.7522 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 3.366e-06/0.2961, allocations: 0 / 0.7522 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.005173/0.3013, allocations: 1.493 MB / 0.7536 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.915e-05/0.3014, allocations: 59.97 kB / 0.7537 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001918/0.3033, allocations: 1.112 MB / 0.7548 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001026/0.3034, allocations: 41.7 kB / 0.7548 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006015/0.304, allocations: 0.5559 MB / 0.7554 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002634/0.3043, allocations: 218.2 kB / 0.7556 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003756/0.3046, allocations: 166.6 kB / 0.7557 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002764/0.3049, allocations: 334 kB / 0.7561 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00152/0.3064, allocations: 449.6 kB / 0.7565 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001818/0.3082, allocations: 0.7203 MB / 0.7572 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003279/0.3115, allocations: 1.117 MB / 0.7583 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.3115, allocations: 0 / 0.7583 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003946/0.3155, allocations: 1.278 MB / 0.7595 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.3155, allocations: 8 kB / 0.7595 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.3155, allocations: 8 kB / 0.7595 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.132e-05/0.3156, allocations: 12 kB / 0.7596 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.3168, allocations: 276.3 kB / 0.7598 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.995e-05/0.3168, allocations: 15.94 kB / 0.7598 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/0.3182, allocations: 179.2 kB / 0.76 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.3183, allocations: 51.97 kB / 0.7601 GB, free: 2.199 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005809/0.3189, allocations: 297 kB / 0.7603 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003473/0.3192, allocations: 123.2 kB / 0.7605 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004128/0.3233, allocations: 1.4 MB / 0.7618 GB, free: 392 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.782e-05/0.3234, allocations: 11.98 kB / 0.7618 GB, free: 380 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.3234, allocations: 0 / 0.7618 GB, free: 380 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.3234, allocations: 7.922 kB / 0.7618 GB, free: 372 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3737/0.6971, allocations: 2.381 MB / 0.7642 GB, free: 70.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.6971, allocations: 5.25 kB / 0.7642 GB, free: 70.44 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/0.6982, allocations: 189.8 kB / 0.7644 GB, free: 70.44 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-05/0.6982, allocations: 5.156 kB / 0.7644 GB, free: 70.44 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.159e-05/0.6983, allocations: 30.95 kB / 0.7644 GB, free: 70.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.716e-06/0.6983, allocations: 4.984 kB / 0.7644 GB, free: 70.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.6983, allocations: 2.688 kB / 0.7644 GB, free: 70.44 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005089/0.7034, allocations: 2.001 MB / 0.7664 GB, free: 70.09 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005435/0.7039, allocations: 279.2 kB / 0.7666 GB, free: 69.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/0.7041, allocations: 22.95 kB / 0.7666 GB, free: 69.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000954/0.705, allocations: 106.3 kB / 0.7667 GB, free: 69.94 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.7051, allocations: 50.45 kB / 0.7668 GB, free: 69.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.627e-05/0.7052, allocations: 41.28 kB / 0.7668 GB, free: 69.93 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001137/0.7064, allocations: 0.764 MB / 0.7676 GB, free: 69.64 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.7064, allocations: 0 / 0.7676 GB, free: 69.64 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001254/0.7076, allocations: 351.8 kB / 0.7679 GB, free: 69.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002047/0.7097, allocations: 0.6496 MB / 0.7685 GB, free: 69.48 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003673/0.7133, allocations: 1.088 MB / 0.7696 GB, free: 69.25 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.7133, allocations: 3.438 kB / 0.7696 GB, free: 69.25 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001847/0.7152, allocations: 0.5496 MB / 0.7701 GB, free: 69.12 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002451/0.7176, allocations: 466.6 kB / 0.7706 GB, free: 69.01 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005818/0.7235, allocations: 2.435 MB / 0.773 GB, free: 67.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009569/0.7244, allocations: 1.103 MB / 0.774 GB, free: 67.11 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006106/0.725, allocations: 122.7 kB / 0.7742 GB, free: 67.09 MB / 0.5762 GB Notification: Performance of SimCode: time 1.282e-06/0.725, allocations: 0.5469 kB / 0.7742 GB, free: 67.09 MB / 0.5762 GB Notification: Performance of Templates: time 0.03744/0.7625, allocations: 19.26 MB / 0.793 GB, free: 59.35 MB / 0.5762 GB [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 480]