Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001407, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 198.1 kB / 16.14 MB, free: 6.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9818/0.9818, allocations: 135.1 MB / 425.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 64.09 kB / 0.5047 GB, free: 5.801 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1872, allocations: 80.92 MB / 0.5837 GB, free: 5.043 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.4911/0.6784, allocations: 191.5 MB / 0.7707 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008705/0.6871, allocations: 5.199 MB / 0.7758 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001308/0.6885, allocations: 43.69 kB / 0.7759 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001975/0.6905, allocations: 0.7155 MB / 0.7766 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005859/0.6964, allocations: 2.452 MB / 0.7789 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002394/0.6988, allocations: 0.996 MB / 0.7799 GB, free: 4.504 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003682/0.7025, allocations: 3.617 MB / 0.7835 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001226/0.7037, allocations: 0.8612 MB / 0.7843 GB, free: 4 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001741/0.7055, allocations: 1.023 MB / 0.7853 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001161/0.7066, allocations: 1.02 MB / 0.7863 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001367/0.7068, allocations: 56 kB / 0.7863 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00343/0.7102, allocations: 2.077 MB / 0.7884 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004163/0.7106, allocations: 422.6 kB / 0.7888 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006644/0.7113, allocations: 0.637 MB / 0.7894 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002969/0.7143, allocations: 2.266 MB / 0.7916 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.7143, allocations: 0 / 0.7916 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.52e-07/0.7143, allocations: 0 / 0.7916 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.559e-05/0.7143, allocations: 0 / 0.7916 GB, free: 8.488 MB / 0.6075 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.00519/0.7195, allocations: 1.959 MB / 0.7935 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.7196, allocations: 12.03 kB / 0.7935 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005823/0.7254, allocations: 0.8955 MB / 0.7944 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/0.7269, allocations: 0.9098 MB / 0.7953 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.349e-05/0.727, allocations: 69.98 kB / 0.7954 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/0.7272, allocations: 91.98 kB / 0.7955 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00371/0.7309, allocations: 1.579 MB / 0.797 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.7309, allocations: 4 kB / 0.797 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/0.731, allocations: 35.98 kB / 0.797 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-05/0.7311, allocations: 49.92 kB / 0.7971 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005321/0.7364, allocations: 1.842 MB / 0.7989 GB, free: 0.8945 MB / 0.6075 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.007733/0.7442, allocations: 4.747 MB / 0.8035 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004457/0.7487, allocations: 1.565 MB / 0.805 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002277/0.751, allocations: 0.8508 MB / 0.8059 GB, free: 9.504 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001286/0.7523, allocations: 0.9451 MB / 0.8068 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002479/0.7547, allocations: 0.9156 MB / 0.8077 GB, free: 7.453 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=95): time 3.226e-06/0.7548, allocations: 0 / 0.8077 GB, free: 7.453 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95): time 0.007851/0.7626, allocations: 2.454 MB / 0.8101 GB, free: 4.992 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.7627, allocations: 60.41 kB / 0.8101 GB, free: 4.922 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/0.7642, allocations: 1.197 MB / 0.8113 GB, free: 3.715 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001217/0.7643, allocations: 45.7 kB / 0.8114 GB, free: 3.664 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004367/0.7648, allocations: 0.5448 MB / 0.8119 GB, free: 3.113 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002967/0.7651, allocations: 331.3 kB / 0.8122 GB, free: 2.785 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003474/0.7654, allocations: 186.5 kB / 0.8124 GB, free: 2.598 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.7656, allocations: 345.9 kB / 0.8127 GB, free: 2.254 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002233/0.7678, allocations: 0.7006 MB / 0.8134 GB, free: 1.551 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002363/0.7702, allocations: 0.9113 MB / 0.8143 GB, free: 0.5703 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004348/0.7745, allocations: 1.558 MB / 0.8158 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.7746, allocations: 0 / 0.8158 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005/0.7796, allocations: 1.772 MB / 0.8175 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/0.7796, allocations: 14.33 kB / 0.8176 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.7796, allocations: 4.859 kB / 0.8176 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.7797, allocations: 8 kB / 0.8176 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001884/0.7815, allocations: 348.8 kB / 0.8179 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.366e-05/0.7816, allocations: 8 kB / 0.8179 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001851/0.7834, allocations: 258.7 kB / 0.8182 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001489/0.7836, allocations: 47.97 kB / 0.8182 GB, free: 12.5 MB / 0.6387 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.0006558/0.7843, allocations: 343.6 kB / 0.8185 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003863/0.7847, allocations: 134.3 kB / 0.8187 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005436/0.7901, allocations: 1.802 MB / 0.8204 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.7901, allocations: 11.98 kB / 0.8204 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.7902, allocations: 0 / 0.8204 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.7902, allocations: 7.984 kB / 0.8204 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007748/0.7979, allocations: 3.332 MB / 0.8237 GB, free: 6.766 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/0.798, allocations: 4 kB / 0.8237 GB, free: 6.762 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001779/0.7997, allocations: 295.8 kB / 0.824 GB, free: 6.473 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.66e-05/0.7998, allocations: 8 kB / 0.824 GB, free: 6.465 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001207/0.7999, allocations: 31.97 kB / 0.824 GB, free: 6.434 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.248e-05/0.7999, allocations: 8 kB / 0.824 GB, free: 6.426 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/0.7999, allocations: 7.938 kB / 0.824 GB, free: 6.418 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007484/0.8074, allocations: 2.847 MB / 0.8268 GB, free: 3.504 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006745/0.8081, allocations: 319.1 kB / 0.8271 GB, free: 3.172 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003126/0.8085, allocations: 27.98 kB / 0.8271 GB, free: 3.145 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001607/0.8101, allocations: 171.7 kB / 0.8273 GB, free: 2.977 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.8102, allocations: 76.45 kB / 0.8274 GB, free: 2.898 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.721e-05/0.8104, allocations: 35.97 kB / 0.8274 GB, free: 2.863 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001108/0.8115, allocations: 0.8353 MB / 0.8282 GB, free: 2.023 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8115, allocations: 0 / 0.8282 GB, free: 2.023 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001129/0.8126, allocations: 339.7 kB / 0.8285 GB, free: 1.691 MB / 0.6387 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.001276/0.8139, allocations: 0.5327 MB / 0.8291 GB, free: 1.348 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00497/0.8189, allocations: 1.622 MB / 0.8307 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.8189, allocations: 0 / 0.8307 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002456/0.8214, allocations: 0.836 MB / 0.8315 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002851/0.8242, allocations: 0.5982 MB / 0.8321 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007537/0.8318, allocations: 3.41 MB / 0.8354 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001136/0.8329, allocations: 1.181 MB / 0.8365 GB, free: 9.602 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001934/0.8349, allocations: 362 kB / 0.8369 GB, free: 9.246 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000572/0.8355, allocations: 115.4 kB / 0.837 GB, free: 9.133 MB / 0.6544 GB Notification: Performance of SimCode: time 1.593e-06/0.8355, allocations: 0 / 0.837 GB, free: 9.133 MB / 0.6544 GB Notification: Performance of Templates: time 0.03979/0.8753, allocations: 22.71 MB / 0.8592 GB, free: 2.691 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)