Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_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_dev_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.001195/0.001195, allocations: 183.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-master/package.mo): time 0.7381/0.7381, allocations: 133.3 MB / 150.1 MB, free: 11.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.461/1.461, allocations: 222.9 MB / 404.7 MB, free: 6.086 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.0009922/0.0009921, allocations: 107.6 kB / 485.9 MB, free: 7.148 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 59.92 kB / 0.5636 GB, free: 69.9 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1542, allocations: 80.42 MB / 0.6421 GB, free: 5.41 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5095/0.6637, allocations: 191.5 MB / 0.8292 GB, free: 1.535 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.009184/0.6729, allocations: 5.18 MB / 0.8343 GB, free: 12.34 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001501/0.6745, allocations: 43.69 kB / 0.8343 GB, free: 12.3 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001921/0.6765, allocations: 0.7194 MB / 0.835 GB, free: 11.58 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.006963/0.6834, allocations: 2.44 MB / 0.8374 GB, free: 9.129 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00292/0.6864, allocations: 1.004 MB / 0.8384 GB, free: 8.137 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.004517/0.6909, allocations: 3.557 MB / 0.8418 GB, free: 4.566 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001399/0.6923, allocations: 0.8248 MB / 0.8426 GB, free: 3.73 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002154/0.6945, allocations: 1.015 MB / 0.8436 GB, free: 2.711 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001321/0.6958, allocations: 0.9845 MB / 0.8446 GB, free: 1.723 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001393/0.696, allocations: 52 kB / 0.8447 GB, free: 1.672 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003871/0.6999, allocations: 2.061 MB / 0.8467 GB, free: 15.61 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0004444/0.7003, allocations: 414.5 kB / 0.8471 GB, free: 15.2 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0007186/0.7011, allocations: 0.6253 MB / 0.8477 GB, free: 14.57 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.003162/0.7042, allocations: 2.212 MB / 0.8498 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.7042, allocations: 0 / 0.8498 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.022e-06/0.7043, allocations: 0 / 0.8498 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.479e-05/0.7043, allocations: 0 / 0.8498 GB, free: 12.35 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.004694/0.709, allocations: 1.926 MB / 0.8517 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.709, allocations: 8.031 kB / 0.8517 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003781/0.7128, allocations: 0.6693 MB / 0.8524 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/0.7143, allocations: 0.8824 MB / 0.8532 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.478e-05/0.7144, allocations: 65.98 kB / 0.8533 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.7145, allocations: 88 kB / 0.8534 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003291/0.7178, allocations: 1.47 MB / 0.8548 GB, free: 7.051 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.654e-05/0.7178, allocations: 7.938 kB / 0.8548 GB, free: 7.043 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.718, allocations: 36 kB / 0.8549 GB, free: 7.008 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.33e-05/0.718, allocations: 49.98 kB / 0.8549 GB, free: 6.961 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004323/0.7224, allocations: 1.522 MB / 0.8564 GB, free: 5.434 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.007403/0.7298, allocations: 5.479 MB / 0.8617 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003779/0.7336, allocations: 1.292 MB / 0.863 GB, free: 14.38 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001724/0.7353, allocations: 0.6602 MB / 0.8636 GB, free: 13.72 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008683/0.7362, allocations: 0.5773 MB / 0.8642 GB, free: 13.03 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001848/0.7381, allocations: 0.7184 MB / 0.8649 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=80): time 2.645e-06/0.7381, allocations: 384 / 0.8649 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=80): time 0.005735/0.7438, allocations: 1.87 MB / 0.8667 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.7439, allocations: 64.05 kB / 0.8668 GB, free: 10.35 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/0.7453, allocations: 1.246 MB / 0.868 GB, free: 9.094 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.754e-05/0.7454, allocations: 45.7 kB / 0.8681 GB, free: 9.043 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000438/0.7459, allocations: 0.5714 MB / 0.8686 GB, free: 8.465 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000241/0.7461, allocations: 280.1 kB / 0.8689 GB, free: 8.188 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003114/0.7464, allocations: 182.5 kB / 0.8691 GB, free: 8.004 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.7466, allocations: 341.9 kB / 0.8694 GB, free: 7.664 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001671/0.7482, allocations: 0.5327 MB / 0.8699 GB, free: 7.133 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001894/0.7501, allocations: 0.8369 MB / 0.8707 GB, free: 6.184 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003362/0.7535, allocations: 1.321 MB / 0.872 GB, free: 4.766 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.7535, allocations: 4 kB / 0.872 GB, free: 4.762 MB / 0.6042 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003916/0.7575, allocations: 1.495 MB / 0.8735 GB, free: 3.258 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.7575, allocations: 8 kB / 0.8735 GB, free: 3.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.7575, allocations: 8 kB / 0.8735 GB, free: 3.242 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.7575, allocations: 12 kB / 0.8735 GB, free: 3.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/0.7589, allocations: 299.9 kB / 0.8738 GB, free: 2.938 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.698e-05/0.759, allocations: 15.94 kB / 0.8738 GB, free: 2.922 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/0.7603, allocations: 214.7 kB / 0.874 GB, free: 2.711 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.914e-05/0.7604, allocations: 51.97 kB / 0.8741 GB, free: 2.66 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.000505/0.761, allocations: 339.7 kB / 0.8744 GB, free: 2.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000185/0.7612, allocations: 138.2 kB / 0.8745 GB, free: 2.184 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003862/0.765, allocations: 1.405 MB / 0.8759 GB, free: 0.7656 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.765, allocations: 8 kB / 0.8759 GB, free: 0.7578 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.7651, allocations: 0 / 0.8759 GB, free: 0.7578 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.7651, allocations: 3.984 kB / 0.8759 GB, free: 0.7539 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005714/0.7708, allocations: 2.803 MB / 0.8786 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.7708, allocations: 7.938 kB / 0.8786 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001218/0.772, allocations: 224.2 kB / 0.8789 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.948e-06/0.7721, allocations: 12 kB / 0.8789 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.798e-05/0.7721, allocations: 27.98 kB / 0.8789 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-05/0.7722, allocations: 11.92 kB / 0.8789 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.7722, allocations: 4 kB / 0.8789 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01024/0.7824, allocations: 5.466 MB / 0.8842 GB, free: 7.816 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000505/0.7829, allocations: 303.4 kB / 0.8845 GB, free: 7.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/0.7831, allocations: 16 kB / 0.8846 GB, free: 7.484 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/0.7842, allocations: 127.8 kB / 0.8847 GB, free: 7.359 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.7844, allocations: 64.36 kB / 0.8847 GB, free: 7.293 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.83e-05/0.7845, allocations: 31.98 kB / 0.8848 GB, free: 7.262 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0009687/0.7854, allocations: 0.8561 MB / 0.8856 GB, free: 6.402 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7854, allocations: 0 / 0.8856 GB, free: 6.402 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001117/0.7866, allocations: 411.5 kB / 0.886 GB, free: 6 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.001165/0.7877, allocations: 0.5366 MB / 0.8865 GB, free: 5.621 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003623/0.7914, allocations: 1.282 MB / 0.8878 GB, free: 4.336 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.7914, allocations: 0 / 0.8878 GB, free: 4.336 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001821/0.7932, allocations: 0.6365 MB / 0.8884 GB, free: 3.699 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002667/0.7959, allocations: 0.5733 MB / 0.889 GB, free: 3.133 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005534/0.8014, allocations: 3.409 MB / 0.8923 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008186/0.8023, allocations: 1.205 MB / 0.8935 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001551/0.8038, allocations: 345.9 kB / 0.8938 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000412/0.8043, allocations: 103.4 kB / 0.8939 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of SimCode: time 7.71e-07/0.8043, allocations: 0 / 0.8939 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of Templates: time 0.03926/0.8435, allocations: 21.91 MB / 0.9153 GB, free: 8.25 MB / 0.6511 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)