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.001078/0.001078, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 192.6 kB / 16.53 MB, free: 6.391 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.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9278/0.9278, allocations: 135.1 MB / 425.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 65.62 kB / 0.5053 GB, free: 5.301 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1802, allocations: 80.93 MB / 0.5844 GB, free: 4.523 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5341/0.7143, allocations: 193.8 MB / 0.7736 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01015/0.7245, allocations: 5.137 MB / 0.7786 GB, free: 5.895 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002035/0.7266, allocations: 47.69 kB / 0.7787 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00233/0.729, allocations: 0.8081 MB / 0.7795 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007201/0.7362, allocations: 2.606 MB / 0.782 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00308/0.7393, allocations: 1.113 MB / 0.7831 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004637/0.744, allocations: 2.673 MB / 0.7857 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001506/0.7455, allocations: 0.9367 MB / 0.7866 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002472/0.748, allocations: 1.109 MB / 0.7877 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001888/0.7499, allocations: 0.9807 MB / 0.7887 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004069/0.7503, allocations: 88 kB / 0.7888 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004232/0.7546, allocations: 1.789 MB / 0.7905 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007144/0.7553, allocations: 446.6 kB / 0.7909 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001349/0.7567, allocations: 0.6649 MB / 0.7916 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005106/0.7618, allocations: 2.2 MB / 0.7937 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.7618, allocations: 0 / 0.7937 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.333e-06/0.7618, allocations: 0 / 0.7937 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.715e-05/0.7619, allocations: 0 / 0.7937 GB, free: 6.398 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.006513/0.7684, allocations: 1.963 MB / 0.7956 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.7685, allocations: 12.03 kB / 0.7957 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00589/0.7744, allocations: 0.8916 MB / 0.7965 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001998/0.7764, allocations: 0.9098 MB / 0.7974 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.237e-05/0.7765, allocations: 69.98 kB / 0.7975 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003027/0.7768, allocations: 95.92 kB / 0.7976 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004241/0.781, allocations: 1.587 MB / 0.7991 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.7811, allocations: 0 / 0.7991 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/0.7812, allocations: 32 kB / 0.7992 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.156e-05/0.7813, allocations: 45.98 kB / 0.7992 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005637/0.7869, allocations: 1.85 MB / 0.801 GB, free: 14.79 MB / 0.6231 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.008575/0.7955, allocations: 4.763 MB / 0.8057 GB, free: 9.816 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00459/0.8001, allocations: 1.572 MB / 0.8072 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002343/0.8025, allocations: 0.8391 MB / 0.808 GB, free: 7.391 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001409/0.8039, allocations: 0.9491 MB / 0.8089 GB, free: 6.258 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002603/0.8065, allocations: 0.9174 MB / 0.8098 GB, free: 5.336 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=95): time 4.518e-06/0.8065, allocations: 0 / 0.8098 GB, free: 5.336 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95): time 0.008205/0.8148, allocations: 2.458 MB / 0.8122 GB, free: 2.867 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.8149, allocations: 60.41 kB / 0.8123 GB, free: 2.797 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00191/0.8168, allocations: 1.197 MB / 0.8135 GB, free: 1.59 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001631/0.817, allocations: 45.7 kB / 0.8135 GB, free: 1.539 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006339/0.8176, allocations: 0.5448 MB / 0.814 GB, free: 0.9883 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004751/0.8181, allocations: 327.3 kB / 0.8143 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004757/0.8186, allocations: 186.5 kB / 0.8145 GB, free: 488 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001965/0.8188, allocations: 345.9 kB / 0.8149 GB, free: 136 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002337/0.8211, allocations: 0.6966 MB / 0.8155 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002447/0.8236, allocations: 0.9074 MB / 0.8164 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00454/0.8281, allocations: 1.558 MB / 0.8179 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.298e-06/0.8282, allocations: 0 / 0.8179 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005327/0.8335, allocations: 1.78 MB / 0.8197 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.071e-05/0.8336, allocations: 12.06 kB / 0.8197 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.8336, allocations: 4 kB / 0.8197 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.951e-05/0.8336, allocations: 8 kB / 0.8197 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001815/0.8354, allocations: 339.5 kB / 0.82 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.095e-05/0.8355, allocations: 11.98 kB / 0.82 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001799/0.8373, allocations: 238.7 kB / 0.8203 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/0.8374, allocations: 47.97 kB / 0.8203 GB, free: 10.41 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.0007182/0.8382, allocations: 331.7 kB / 0.8206 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003932/0.8386, allocations: 134.3 kB / 0.8208 GB, free: 9.941 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005454/0.844, allocations: 1.809 MB / 0.8225 GB, free: 8.121 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.8441, allocations: 12.09 kB / 0.8225 GB, free: 8.109 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.8441, allocations: 7.938 kB / 0.8225 GB, free: 8.102 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.8441, allocations: 3.984 kB / 0.8225 GB, free: 8.098 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007804/0.8519, allocations: 3.326 MB / 0.8258 GB, free: 4.672 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.8519, allocations: 4 kB / 0.8258 GB, free: 4.668 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001669/0.8536, allocations: 291.6 kB / 0.8261 GB, free: 4.383 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.107e-05/0.8536, allocations: 11.98 kB / 0.8261 GB, free: 4.371 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/0.8538, allocations: 31.97 kB / 0.8261 GB, free: 4.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.166e-05/0.8538, allocations: 8 kB / 0.8261 GB, free: 4.332 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.8538, allocations: 7.938 kB / 0.8261 GB, free: 4.324 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00752/0.8613, allocations: 2.847 MB / 0.8289 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006748/0.862, allocations: 324.7 kB / 0.8292 GB, free: 1.078 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003487/0.8624, allocations: 27.98 kB / 0.8292 GB, free: 1.051 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001551/0.8639, allocations: 151.8 kB / 0.8294 GB, free: 0.9023 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/0.8641, allocations: 76.45 kB / 0.8295 GB, free: 0.8242 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.16e-05/0.8642, allocations: 35.97 kB / 0.8295 GB, free: 0.7891 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001258/0.8655, allocations: 0.8353 MB / 0.8303 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8655, allocations: 0 / 0.8303 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001299/0.8668, allocations: 335.7 kB / 0.8306 GB, free: 15.62 MB / 0.6544 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.001408/0.8682, allocations: 0.5256 MB / 0.8312 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005597/0.8738, allocations: 1.79 MB / 0.8329 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.8739, allocations: 0 / 0.8329 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002569/0.8764, allocations: 0.8399 MB / 0.8337 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003387/0.8798, allocations: 0.6223 MB / 0.8343 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007454/0.8873, allocations: 3.006 MB / 0.8373 GB, free: 8.965 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001237/0.8886, allocations: 1.187 MB / 0.8384 GB, free: 7.75 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002185/0.8908, allocations: 358 kB / 0.8388 GB, free: 7.398 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005707/0.8914, allocations: 111.4 kB / 0.8389 GB, free: 7.289 MB / 0.6544 GB Notification: Performance of SimCode: time 1.333e-06/0.8914, allocations: 0 / 0.8389 GB, free: 7.289 MB / 0.6544 GB Notification: Performance of Templates: time 0.3258/1.217, allocations: 23.77 MB / 0.8621 GB, free: 220.8 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)