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.001744/0.001744, allocations: 182.9 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.7184/0.7184, allocations: 132.2 MB / 148.9 MB, free: 12.16 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.394/1.394, allocations: 222.9 MB / 403.4 MB, free: 7.074 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.001076/0.001076, allocations: 116.2 kB / 484.4 MB, free: 8.719 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001042/0.001042, allocations: 52.11 kB / 0.5618 GB, free: 71.06 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1255, allocations: 80.2 MB / 0.6402 GB, free: 6.785 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5227/0.6482, allocations: 191.6 MB / 0.8272 GB, free: 3.578 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.008055/0.6563, allocations: 5.188 MB / 0.8323 GB, free: 14.38 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008463/0.6572, allocations: 47.62 kB / 0.8323 GB, free: 14.33 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001579/0.6588, allocations: 0.7038 MB / 0.833 GB, free: 13.62 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.005529/0.6644, allocations: 2.452 MB / 0.8354 GB, free: 11.16 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002508/0.6669, allocations: 1.007 MB / 0.8364 GB, free: 10.17 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.004241/0.6712, allocations: 3.553 MB / 0.8399 GB, free: 6.609 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001922/0.6731, allocations: 0.8261 MB / 0.8407 GB, free: 5.773 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00263/0.6758, allocations: 1.011 MB / 0.8417 GB, free: 4.758 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001518/0.6773, allocations: 0.9884 MB / 0.8426 GB, free: 3.766 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001577/0.6775, allocations: 52 kB / 0.8427 GB, free: 3.715 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003475/0.681, allocations: 2.069 MB / 0.8447 GB, free: 1.641 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0004567/0.6815, allocations: 418.6 kB / 0.8451 GB, free: 1.23 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0007223/0.6822, allocations: 0.6136 MB / 0.8457 GB, free: 0.6133 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.00295/0.6852, allocations: 2.216 MB / 0.8479 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.6852, allocations: 0 / 0.8479 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.02e-07/0.6852, allocations: 0 / 0.8479 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.25e-05/0.6852, allocations: 0 / 0.8479 GB, free: 14.39 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.004506/0.6897, allocations: 1.934 MB / 0.8498 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.6898, allocations: 8.031 kB / 0.8498 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0038/0.6936, allocations: 0.6576 MB / 0.8504 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/0.6951, allocations: 0.8825 MB / 0.8513 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.096e-05/0.6952, allocations: 69.98 kB / 0.8513 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/0.6954, allocations: 88 kB / 0.8514 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00302/0.6984, allocations: 1.474 MB / 0.8529 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.6984, allocations: 0 / 0.8529 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-05/0.6985, allocations: 40 kB / 0.8529 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.475e-05/0.6986, allocations: 41.98 kB / 0.8529 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004059/0.7026, allocations: 1.526 MB / 0.8544 GB, free: 7.477 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.006959/0.7096, allocations: 5.487 MB / 0.8598 GB, free: 1.707 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003669/0.7133, allocations: 1.276 MB / 0.861 GB, free: 436 kB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001723/0.715, allocations: 0.6588 MB / 0.8617 GB, free: 15.76 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008035/0.7159, allocations: 0.5811 MB / 0.8622 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001844/0.7177, allocations: 0.7184 MB / 0.8629 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=80): time 2.755e-06/0.7177, allocations: 0 / 0.8629 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=80): time 0.005677/0.7234, allocations: 1.866 MB / 0.8648 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.7235, allocations: 68.06 kB / 0.8648 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/0.7249, allocations: 1.239 MB / 0.866 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.328e-05/0.725, allocations: 45.69 kB / 0.8661 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004133/0.7254, allocations: 0.5753 MB / 0.8666 GB, free: 10.51 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002253/0.7256, allocations: 276.1 kB / 0.8669 GB, free: 10.23 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003021/0.7259, allocations: 190.5 kB / 0.8671 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.7261, allocations: 341.9 kB / 0.8674 GB, free: 9.703 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001596/0.7277, allocations: 0.5367 MB / 0.8679 GB, free: 9.164 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001772/0.7295, allocations: 0.8291 MB / 0.8687 GB, free: 8.223 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003289/0.7328, allocations: 1.325 MB / 0.87 GB, free: 6.797 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.7328, allocations: 7.938 kB / 0.8701 GB, free: 6.789 MB / 0.6042 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003984/0.7368, allocations: 1.49 MB / 0.8715 GB, free: 5.289 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.7368, allocations: 12.94 kB / 0.8715 GB, free: 5.277 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.7368, allocations: 4.844 kB / 0.8715 GB, free: 5.273 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.7369, allocations: 12 kB / 0.8715 GB, free: 5.262 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/0.7383, allocations: 295.5 kB / 0.8718 GB, free: 4.973 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.928e-05/0.7384, allocations: 19.98 kB / 0.8718 GB, free: 4.953 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/0.7398, allocations: 214.7 kB / 0.872 GB, free: 4.742 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.7399, allocations: 51.97 kB / 0.8721 GB, free: 4.691 MB / 0.6042 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 ($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 (117): * Single equations (assignments): 117 * 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.0005788/0.7405, allocations: 343.7 kB / 0.8724 GB, free: 4.348 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002189/0.7408, allocations: 134.2 kB / 0.8725 GB, free: 4.215 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003878/0.7446, allocations: 1.408 MB / 0.8739 GB, free: 2.797 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.7447, allocations: 8 kB / 0.8739 GB, free: 2.789 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.7447, allocations: 3.984 kB / 0.8739 GB, free: 2.785 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.7447, allocations: 7.984 kB / 0.8739 GB, free: 2.777 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005778/0.7505, allocations: 2.795 MB / 0.8767 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.7505, allocations: 7.938 kB / 0.8767 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/0.7517, allocations: 224.2 kB / 0.8769 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/0.7518, allocations: 8 kB / 0.8769 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.828e-05/0.7518, allocations: 23.97 kB / 0.8769 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-05/0.7519, allocations: 11.98 kB / 0.8769 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.7519, allocations: 7.938 kB / 0.8769 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01118/0.7631, allocations: 5.457 MB / 0.8823 GB, free: 9.855 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005766/0.7637, allocations: 295.4 kB / 0.8826 GB, free: 9.547 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001679/0.7638, allocations: 24 kB / 0.8826 GB, free: 9.523 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/0.765, allocations: 127.8 kB / 0.8827 GB, free: 9.398 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/0.7652, allocations: 60.38 kB / 0.8828 GB, free: 9.336 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.51e-05/0.7653, allocations: 39.97 kB / 0.8828 GB, free: 9.297 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001093/0.7664, allocations: 0.8523 MB / 0.8836 GB, free: 8.441 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7664, allocations: 7.938 kB / 0.8836 GB, free: 8.434 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001211/0.7676, allocations: 411.5 kB / 0.884 GB, free: 8.031 MB / 0.6198 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * 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.001179/0.7688, allocations: 0.528 MB / 0.8845 GB, free: 7.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003679/0.7725, allocations: 1.283 MB / 0.8858 GB, free: 6.379 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.7725, allocations: 8.062 kB / 0.8858 GB, free: 6.371 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001809/0.7743, allocations: 0.6362 MB / 0.8864 GB, free: 5.738 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002633/0.777, allocations: 0.5663 MB / 0.887 GB, free: 5.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005388/0.7824, allocations: 3.414 MB / 0.8903 GB, free: 1.68 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007349/0.7831, allocations: 1.205 MB / 0.8915 GB, free: 448 kB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001362/0.7845, allocations: 337.9 kB / 0.8918 GB, free: 108 kB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003977/0.7849, allocations: 115.4 kB / 0.8919 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of SimCode: time 9.82e-07/0.7849, allocations: 0 / 0.8919 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of Templates: time 0.03516/0.8201, allocations: 21.91 MB / 0.9133 GB, free: 10.3 MB / 0.6511 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)