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.001032/0.001032, allocations: 115.3 kB / 15.34 MB, free: 0.5078 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.001149/0.001149, allocations: 191.1 kB / 16.25 MB, free: 6.586 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.343/1.343, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9321/0.9321, allocations: 135.1 MB / 425.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 64.05 kB / 0.5049 GB, free: 5.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1748, allocations: 80.93 MB / 0.5839 GB, free: 4.922 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5552/0.73, allocations: 191.3 MB / 0.7707 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01335/0.7434, allocations: 5.123 MB / 0.7757 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002558/0.746, allocations: 43.69 kB / 0.7757 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003222/0.7493, allocations: 0.7311 MB / 0.7764 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0104/0.7598, allocations: 2.444 MB / 0.7788 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004066/0.7639, allocations: 1.012 MB / 0.7798 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004559/0.7684, allocations: 2.7 MB / 0.7825 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001962/0.7704, allocations: 0.9444 MB / 0.7834 GB, free: 0.9922 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002837/0.7733, allocations: 1.132 MB / 0.7845 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001922/0.7752, allocations: 1.059 MB / 0.7855 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003938/0.7756, allocations: 88 kB / 0.7856 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004287/0.7799, allocations: 1.858 MB / 0.7874 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00116/0.7811, allocations: 454.6 kB / 0.7879 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00259/0.7837, allocations: 0.6694 MB / 0.7885 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006705/0.7904, allocations: 2.317 MB / 0.7908 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.7905, allocations: 0 / 0.7908 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.883e-06/0.7905, allocations: 0 / 0.7908 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.423e-05/0.7906, allocations: 0 / 0.7908 GB, free: 9.402 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.006666/0.7972, allocations: 1.959 MB / 0.7927 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.7973, allocations: 12.03 kB / 0.7927 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00585/0.8032, allocations: 0.8955 MB / 0.7936 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002014/0.8052, allocations: 0.9097 MB / 0.7945 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.913e-05/0.8053, allocations: 73.92 kB / 0.7945 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003407/0.8057, allocations: 88 kB / 0.7946 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004579/0.8103, allocations: 1.591 MB / 0.7962 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.8103, allocations: 0 / 0.7962 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001229/0.8104, allocations: 36 kB / 0.7962 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.707e-05/0.8105, allocations: 53.95 kB / 0.7963 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005546/0.8161, allocations: 1.846 MB / 0.7981 GB, free: 1.793 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.009/0.8251, allocations: 4.736 MB / 0.8027 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004683/0.8298, allocations: 1.56 MB / 0.8042 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002388/0.8322, allocations: 0.8476 MB / 0.805 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001458/0.8337, allocations: 0.953 MB / 0.806 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00272/0.8365, allocations: 0.9173 MB / 0.8069 GB, free: 8.359 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=95): time 3.907e-06/0.8365, allocations: 4 kB / 0.8069 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95): time 0.008091/0.8446, allocations: 2.443 MB / 0.8092 GB, free: 5.906 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.8447, allocations: 60.41 kB / 0.8093 GB, free: 5.836 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001778/0.8464, allocations: 1.201 MB / 0.8105 GB, free: 4.625 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001412/0.8466, allocations: 45.7 kB / 0.8105 GB, free: 4.574 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004977/0.8471, allocations: 0.5486 MB / 0.8111 GB, free: 4.02 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003533/0.8475, allocations: 327.3 kB / 0.8114 GB, free: 3.695 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003768/0.8479, allocations: 190.5 kB / 0.8115 GB, free: 3.504 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.848, allocations: 345.9 kB / 0.8119 GB, free: 3.16 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00223/0.8503, allocations: 0.6888 MB / 0.8126 GB, free: 2.469 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002388/0.8526, allocations: 0.9113 MB / 0.8134 GB, free: 1.488 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004401/0.8571, allocations: 1.554 MB / 0.815 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.8571, allocations: 0 / 0.815 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005198/0.8623, allocations: 1.784 MB / 0.8167 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.8623, allocations: 8 kB / 0.8167 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.8624, allocations: 4.438 kB / 0.8167 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/0.8624, allocations: 12 kB / 0.8167 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001849/0.8642, allocations: 339.5 kB / 0.817 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.838e-05/0.8643, allocations: 11.94 kB / 0.8171 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/0.8661, allocations: 250.7 kB / 0.8173 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/0.8663, allocations: 47.97 kB / 0.8173 GB, free: 13.43 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.0006545/0.867, allocations: 343.7 kB / 0.8177 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003352/0.8673, allocations: 138.2 kB / 0.8178 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005527/0.8729, allocations: 1.807 MB / 0.8196 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.8729, allocations: 8 kB / 0.8196 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.8729, allocations: 4 kB / 0.8196 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.498e-05/0.8729, allocations: 7.969 kB / 0.8196 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008139/0.8811, allocations: 3.325 MB / 0.8228 GB, free: 7.676 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/0.8811, allocations: 4.094 kB / 0.8228 GB, free: 7.672 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001736/0.8828, allocations: 292 kB / 0.8231 GB, free: 7.387 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-05/0.8829, allocations: 8 kB / 0.8231 GB, free: 7.379 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001194/0.883, allocations: 35.97 kB / 0.8232 GB, free: 7.344 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.279e-05/0.883, allocations: 15.92 kB / 0.8232 GB, free: 7.328 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.883, allocations: 4 kB / 0.8232 GB, free: 7.324 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007442/0.8905, allocations: 2.839 MB / 0.826 GB, free: 4.418 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007225/0.8912, allocations: 327.1 kB / 0.8263 GB, free: 4.078 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003509/0.8916, allocations: 30.88 kB / 0.8263 GB, free: 4.051 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001718/0.8933, allocations: 171.7 kB / 0.8265 GB, free: 3.883 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001862/0.8935, allocations: 76.5 kB / 0.8265 GB, free: 3.809 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/0.8936, allocations: 35.97 kB / 0.8266 GB, free: 3.773 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00131/0.895, allocations: 0.8315 MB / 0.8274 GB, free: 2.938 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.875e-06/0.895, allocations: 0 / 0.8274 GB, free: 2.938 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001288/0.8963, allocations: 343.6 kB / 0.8277 GB, free: 2.602 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.001421/0.8977, allocations: 0.5191 MB / 0.8282 GB, free: 2.281 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005601/0.9033, allocations: 1.79 MB / 0.83 GB, free: 0.4922 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.9033, allocations: 0 / 0.83 GB, free: 0.4922 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002477/0.9058, allocations: 0.8322 MB / 0.8308 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003252/0.9091, allocations: 0.6212 MB / 0.8314 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006827/0.9159, allocations: 3.41 MB / 0.8347 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009496/0.9169, allocations: 1.191 MB / 0.8359 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002017/0.9189, allocations: 358 kB / 0.8362 GB, free: 9.996 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005592/0.9195, allocations: 119.4 kB / 0.8363 GB, free: 9.879 MB / 0.6544 GB Notification: Performance of SimCode: time 1.302e-06/0.9195, allocations: 0 / 0.8363 GB, free: 9.879 MB / 0.6544 GB Notification: Performance of Templates: time 0.04202/0.9615, allocations: 23.56 MB / 0.8593 GB, free: 2.609 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)