Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 182.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7052/0.7052, allocations: 132.2 MB / 148.9 MB, free: 12.14 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.435/1.435, allocations: 222.9 MB / 403.4 MB, free: 7.133 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.0009913/0.000991, allocations: 102 kB / 484.3 MB, free: 8.734 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009911/0.0009911, allocations: 59.92 kB / 0.5618 GB, free: 71.09 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.166, allocations: 80.21 MB / 0.6402 GB, free: 6.812 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5013/0.6673, allocations: 191.5 MB / 0.8272 GB, free: 3.59 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.009131/0.6765, allocations: 5.191 MB / 0.8323 GB, free: 14.39 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001657/0.6782, allocations: 43.69 kB / 0.8323 GB, free: 14.34 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001934/0.6801, allocations: 0.7116 MB / 0.833 GB, free: 13.63 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.006477/0.6867, allocations: 2.456 MB / 0.8354 GB, free: 11.16 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002817/0.6895, allocations: 1 MB / 0.8364 GB, free: 10.17 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.004008/0.6935, allocations: 3.619 MB / 0.8399 GB, free: 6.543 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001569/0.6951, allocations: 0.869 MB / 0.8408 GB, free: 5.66 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002183/0.6973, allocations: 1.035 MB / 0.8418 GB, free: 4.621 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001841/0.6992, allocations: 1.023 MB / 0.8428 GB, free: 3.594 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0003195/0.6995, allocations: 56 kB / 0.8429 GB, free: 3.539 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004128/0.7037, allocations: 2.073 MB / 0.8449 GB, free: 1.461 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0006183/0.7043, allocations: 430.6 kB / 0.8453 GB, free: 1.039 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.001072/0.7054, allocations: 0.6331 MB / 0.8459 GB, free: 412 kB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.003798/0.7092, allocations: 2.262 MB / 0.8481 GB, free: 14.13 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.7092, allocations: 4 kB / 0.8481 GB, free: 14.13 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.223e-06/0.7092, allocations: 0 / 0.8481 GB, free: 14.13 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.83e-05/0.7093, allocations: 0 / 0.8481 GB, free: 14.13 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.005413/0.7147, allocations: 1.961 MB / 0.85 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.7148, allocations: 8.031 kB / 0.85 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005617/0.7204, allocations: 0.8916 MB / 0.8509 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001819/0.7222, allocations: 0.9098 MB / 0.8518 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.185e-05/0.7223, allocations: 69.98 kB / 0.8519 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002288/0.7225, allocations: 92 kB / 0.852 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003907/0.7265, allocations: 1.583 MB / 0.8535 GB, free: 8.469 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.7265, allocations: 0 / 0.8535 GB, free: 8.469 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/0.7266, allocations: 35.98 kB / 0.8535 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.875e-05/0.7267, allocations: 53.92 kB / 0.8536 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005613/0.7323, allocations: 1.846 MB / 0.8554 GB, free: 6.531 MB / 0.5886 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.008684/0.741, allocations: 4.738 MB / 0.86 GB, free: 1.566 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00449/0.7455, allocations: 1.568 MB / 0.8615 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00232/0.7479, allocations: 0.8546 MB / 0.8624 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001183/0.7491, allocations: 0.9412 MB / 0.8633 GB, free: 14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002592/0.7517, allocations: 0.9222 MB / 0.8642 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=95): time 3.556e-06/0.7517, allocations: 0 / 0.8642 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=95): time 0.00799/0.7597, allocations: 2.447 MB / 0.8666 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.7598, allocations: 68.41 kB / 0.8667 GB, free: 10.53 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001574/0.7614, allocations: 1.197 MB / 0.8678 GB, free: 9.324 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.7615, allocations: 49.7 kB / 0.8679 GB, free: 9.27 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003859/0.7619, allocations: 0.537 MB / 0.8684 GB, free: 8.727 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002915/0.7622, allocations: 327.3 kB / 0.8687 GB, free: 8.402 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003401/0.7625, allocations: 186.5 kB / 0.8689 GB, free: 8.215 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.7627, allocations: 345.9 kB / 0.8692 GB, free: 7.871 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002152/0.7648, allocations: 0.7083 MB / 0.8699 GB, free: 7.164 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002501/0.7673, allocations: 0.9074 MB / 0.8708 GB, free: 6.188 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004411/0.7718, allocations: 1.558 MB / 0.8723 GB, free: 4.574 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.7718, allocations: 0 / 0.8723 GB, free: 4.574 MB / 0.6042 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005092/0.7769, allocations: 1.772 MB / 0.874 GB, free: 2.793 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.7769, allocations: 9.562 kB / 0.8741 GB, free: 2.785 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.7769, allocations: 4 kB / 0.8741 GB, free: 2.781 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/0.777, allocations: 8 kB / 0.8741 GB, free: 2.773 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001807/0.7788, allocations: 343.8 kB / 0.8744 GB, free: 2.438 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/0.7788, allocations: 14.19 kB / 0.8744 GB, free: 2.426 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/0.7805, allocations: 262.7 kB / 0.8747 GB, free: 2.168 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/0.7807, allocations: 47.97 kB / 0.8747 GB, free: 2.121 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.000574/0.7813, allocations: 337 kB / 0.875 GB, free: 1.785 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002799/0.7816, allocations: 134.3 kB / 0.8752 GB, free: 1.652 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005239/0.7868, allocations: 1.796 MB / 0.8769 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.719e-06/0.7868, allocations: 12 kB / 0.8769 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.7868, allocations: 4 kB / 0.8769 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.7869, allocations: 7.969 kB / 0.8769 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007561/0.7944, allocations: 3.332 MB / 0.8802 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.7945, allocations: 4 kB / 0.8802 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001619/0.7961, allocations: 287.6 kB / 0.8805 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.528e-05/0.7961, allocations: 8 kB / 0.8805 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/0.7962, allocations: 31.97 kB / 0.8805 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.198e-05/0.7962, allocations: 11.98 kB / 0.8805 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.7962, allocations: 7.938 kB / 0.8805 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01331/0.8096, allocations: 6.776 MB / 0.8871 GB, free: 4.914 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006158/0.8102, allocations: 319.2 kB / 0.8874 GB, free: 4.582 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001908/0.8104, allocations: 23.98 kB / 0.8875 GB, free: 4.559 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00145/0.8119, allocations: 171.7 kB / 0.8876 GB, free: 4.391 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/0.812, allocations: 68.45 kB / 0.8877 GB, free: 4.324 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/0.8122, allocations: 43.97 kB / 0.8877 GB, free: 4.281 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000993/0.8132, allocations: 0.8353 MB / 0.8885 GB, free: 3.441 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.8132, allocations: 4 kB / 0.8886 GB, free: 3.438 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001281/0.8145, allocations: 435.5 kB / 0.889 GB, free: 3.012 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001249/0.8157, allocations: 0.5204 MB / 0.8895 GB, free: 2.652 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0049/0.8206, allocations: 1.619 MB / 0.8911 GB, free: 1.031 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.8206, allocations: 4 kB / 0.8911 GB, free: 1.027 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002357/0.823, allocations: 0.8399 MB / 0.8919 GB, free: 196 kB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002902/0.8259, allocations: 0.5891 MB / 0.8925 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006708/0.8326, allocations: 3.905 MB / 0.8963 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008056/0.8335, allocations: 1.219 MB / 0.8975 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001689/0.8352, allocations: 362 kB / 0.8978 GB, free: 10 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005107/0.8357, allocations: 115.4 kB / 0.8979 GB, free: 9.891 MB / 0.6355 GB Notification: Performance of SimCode: time 8.11e-07/0.8357, allocations: 0 / 0.8979 GB, free: 9.891 MB / 0.6355 GB Notification: Performance of Templates: time 0.03845/0.8742, allocations: 23.53 MB / 0.9209 GB, free: 2.59 MB / 0.6511 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)