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.001138/0.001138, allocations: 115.2 kB / 16.42 MB, free: 6.504 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.001128/0.001128, allocations: 188.2 kB / 17.35 MB, free: 5.758 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.167/1.167, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7082/0.7082, allocations: 135.1 MB / 426.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 64.16 kB / 0.5863 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1138, allocations: 80.92 MB / 0.6653 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.4238/0.5376, allocations: 193.8 MB / 0.8546 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.00723/0.5449, allocations: 5.143 MB / 0.8596 GB, free: 6.262 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000875/0.5458, allocations: 48.09 kB / 0.8597 GB, free: 6.242 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001566/0.5474, allocations: 0.8285 MB / 0.8605 GB, free: 5.625 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00488/0.5523, allocations: 2.694 MB / 0.8631 GB, free: 3.621 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00216/0.5545, allocations: 1.113 MB / 0.8642 GB, free: 2.793 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002673/0.5571, allocations: 2.682 MB / 0.8668 GB, free: 0.7695 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001233/0.5584, allocations: 0.9406 MB / 0.8677 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001676/0.5601, allocations: 1.156 MB / 0.8689 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001186/0.5613, allocations: 0.9846 MB / 0.8698 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001817/0.5615, allocations: 95.94 kB / 0.8699 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002653/0.5641, allocations: 1.8 MB / 0.8717 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004074/0.5645, allocations: 454.5 kB / 0.8721 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006505/0.5652, allocations: 0.6643 MB / 0.8728 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002526/0.5677, allocations: 2.227 MB / 0.8749 GB, free: 8.422 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.5677, allocations: 0 / 0.8749 GB, free: 8.422 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5678, allocations: 4 kB / 0.8749 GB, free: 8.418 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.408e-05/0.5678, allocations: 0 / 0.8749 GB, free: 8.418 MB / 0.6387 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.004772/0.5726, allocations: 1.953 MB / 0.8768 GB, free: 6.406 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.5726, allocations: 9.109 kB / 0.8769 GB, free: 6.398 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00535/0.578, allocations: 0.8943 MB / 0.8777 GB, free: 5.504 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00157/0.5795, allocations: 0.9722 MB / 0.8787 GB, free: 4.477 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.792e-05/0.5796, allocations: 73.98 kB / 0.8788 GB, free: 4.402 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/0.5798, allocations: 95.92 kB / 0.8788 GB, free: 4.309 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003587/0.5834, allocations: 1.579 MB / 0.8804 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.5834, allocations: 0 / 0.8804 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/0.5835, allocations: 35.98 kB / 0.8804 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-05/0.5836, allocations: 53.92 kB / 0.8805 GB, free: 2.609 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005089/0.5887, allocations: 1.846 MB / 0.8823 GB, free: 0.7617 MB / 0.6387 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.006913/0.5956, allocations: 4.726 MB / 0.8869 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004353/0.6, allocations: 1.573 MB / 0.8884 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002237/0.6022, allocations: 0.8662 MB / 0.8893 GB, free: 9.355 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001187/0.6034, allocations: 0.9491 MB / 0.8902 GB, free: 8.223 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002422/0.6059, allocations: 0.9027 MB / 0.8911 GB, free: 7.305 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=95): time 2.665e-06/0.6059, allocations: 0 / 0.8911 GB, free: 7.305 MB / 0.6544 GB Notification: Performance of matching and sorting (n=95): time 0.007473/0.6134, allocations: 2.458 MB / 0.8935 GB, free: 4.84 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.6134, allocations: 60.41 kB / 0.8935 GB, free: 4.77 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.6146, allocations: 1.193 MB / 0.8947 GB, free: 3.566 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.809e-05/0.6147, allocations: 45.7 kB / 0.8947 GB, free: 3.516 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003728/0.6151, allocations: 0.5486 MB / 0.8953 GB, free: 2.961 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002427/0.6153, allocations: 319.4 kB / 0.8956 GB, free: 2.645 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003183/0.6157, allocations: 190.5 kB / 0.8958 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.6158, allocations: 345.9 kB / 0.8961 GB, free: 2.105 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002111/0.6179, allocations: 0.6927 MB / 0.8968 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002269/0.6202, allocations: 0.9211 MB / 0.8977 GB, free: 440 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004252/0.6245, allocations: 1.55 MB / 0.8992 GB, free: 14.82 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.6245, allocations: 0 / 0.8992 GB, free: 14.82 MB / 0.67 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004728/0.6292, allocations: 1.784 MB / 0.9009 GB, free: 13.03 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.6292, allocations: 9.719 kB / 0.9009 GB, free: 13.02 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.6292, allocations: 4 kB / 0.9009 GB, free: 13.02 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.6293, allocations: 8.531 kB / 0.901 GB, free: 13.01 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001712/0.631, allocations: 343.4 kB / 0.9013 GB, free: 12.67 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.654e-05/0.631, allocations: 15.98 kB / 0.9013 GB, free: 12.66 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/0.6324, allocations: 230.7 kB / 0.9015 GB, free: 12.43 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.649e-05/0.6325, allocations: 48.84 kB / 0.9016 GB, free: 12.38 MB / 0.67 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.0004599/0.633, allocations: 343.6 kB / 0.9019 GB, free: 12.04 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001913/0.6332, allocations: 138.3 kB / 0.902 GB, free: 11.9 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00496/0.6381, allocations: 1.803 MB / 0.9038 GB, free: 10.09 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.6382, allocations: 3.984 kB / 0.9038 GB, free: 10.09 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.6382, allocations: 0 / 0.9038 GB, free: 10.09 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004859/0.6387, allocations: 315.2 kB / 0.9041 GB, free: 9.758 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001878/0.6389, allocations: 16 kB / 0.9041 GB, free: 9.742 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/0.6401, allocations: 155.8 kB / 0.9042 GB, free: 9.59 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.6403, allocations: 64.84 kB / 0.9043 GB, free: 9.527 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005802/0.6461, allocations: 1.86 MB / 0.9061 GB, free: 7.66 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007018/0.6531, allocations: 2.816 MB / 0.9089 GB, free: 4.828 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002113/0.6552, allocations: 0.7728 MB / 0.9096 GB, free: 4.055 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008569/0.6561, allocations: 0.8315 MB / 0.9104 GB, free: 3.219 MB / 0.67 GB Notification: Performance of Backend: time 2.224e-06/0.6561, allocations: 0 / 0.9104 GB, free: 3.219 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004456/0.6606, allocations: 1.718 MB / 0.9121 GB, free: 1.66 MB / 0.67 GB Notification: Performance of SimCode: time 0.00405/0.6646, allocations: 3.033 MB / 0.9151 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of Templates: time 0.03934/0.704, allocations: 29.69 MB / 0.9441 GB, free: 1.094 MB / 0.7012 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)