Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.004631/0.004631, allocations: 101.7 kB / 15.88 MB, free: 6.312 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.001081/0.001081, allocations: 195.3 kB / 16.79 MB, free: 6.242 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.327/1.327, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7247/0.7247, allocations: 122.9 MB / 413.5 MB, free: 11.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001258, allocations: 68.31 kB / 0.4904 GB, free: 14.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1634, allocations: 77.92 MB / 0.5665 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5316/0.6951, allocations: 191.5 MB / 0.7536 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009958/0.7051, allocations: 5.186 MB / 0.7586 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001815/0.707, allocations: 43.69 kB / 0.7587 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002364/0.7093, allocations: 0.7155 MB / 0.7594 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007167/0.7166, allocations: 2.448 MB / 0.7618 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003224/0.7198, allocations: 1.005 MB / 0.7627 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004921/0.7248, allocations: 3.607 MB / 0.7663 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002132/0.7269, allocations: 0.8728 MB / 0.7671 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002861/0.7298, allocations: 1.015 MB / 0.7681 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00217/0.732, allocations: 1.027 MB / 0.7691 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003495/0.7324, allocations: 56 kB / 0.7692 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004544/0.7369, allocations: 2.073 MB / 0.7712 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000824/0.7378, allocations: 426.5 kB / 0.7716 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001351/0.7391, allocations: 0.637 MB / 0.7722 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004794/0.7439, allocations: 2.27 MB / 0.7744 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.744, allocations: 4 kB / 0.7744 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.112e-06/0.744, allocations: 0 / 0.7744 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.899e-05/0.7441, allocations: 0 / 0.7744 GB, free: 2.957 MB / 0.5919 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.006184/0.7502, allocations: 1.955 MB / 0.7763 GB, free: 0.9492 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.7503, allocations: 8.031 kB / 0.7763 GB, free: 0.9414 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00597/0.7563, allocations: 0.8916 MB / 0.7772 GB, free: 48 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001896/0.7582, allocations: 0.9175 MB / 0.7781 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.26e-05/0.7583, allocations: 69.98 kB / 0.7782 GB, free: 15 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002705/0.7586, allocations: 88 kB / 0.7783 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004198/0.7628, allocations: 1.579 MB / 0.7798 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.109e-05/0.7628, allocations: 4 kB / 0.7798 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.763, allocations: 36 kB / 0.7798 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-05/0.763, allocations: 45.98 kB / 0.7799 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005836/0.7689, allocations: 1.854 MB / 0.7817 GB, free: 11.36 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.009134/0.778, allocations: 4.731 MB / 0.7863 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004545/0.7826, allocations: 1.56 MB / 0.7878 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002415/0.7851, allocations: 0.8524 MB / 0.7887 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00144/0.7865, allocations: 0.9452 MB / 0.7896 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002756/0.7893, allocations: 0.9105 MB / 0.7905 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=95): time 4.649e-06/0.7893, allocations: 0 / 0.7905 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95): time 0.008446/0.7978, allocations: 2.462 MB / 0.7929 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.7979, allocations: 64.41 kB / 0.793 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001764/0.7996, allocations: 1.197 MB / 0.7941 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001426/0.7998, allocations: 45.7 kB / 0.7942 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005021/0.8003, allocations: 0.537 MB / 0.7947 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003767/0.8007, allocations: 331.2 kB / 0.795 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004181/0.8011, allocations: 186.5 kB / 0.7952 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.8013, allocations: 341.9 kB / 0.7955 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002402/0.8037, allocations: 0.7005 MB / 0.7962 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002622/0.8063, allocations: 0.9113 MB / 0.7971 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004753/0.8111, allocations: 1.554 MB / 0.7986 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.8111, allocations: 0 / 0.7986 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005473/0.8166, allocations: 1.776 MB / 0.8003 GB, free: 7.648 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.903e-05/0.8167, allocations: 9.875 kB / 0.8003 GB, free: 7.641 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.8167, allocations: 7.984 kB / 0.8004 GB, free: 7.633 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.499e-05/0.8167, allocations: 8 kB / 0.8004 GB, free: 7.625 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002008/0.8187, allocations: 347.9 kB / 0.8007 GB, free: 7.285 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.543e-05/0.8188, allocations: 14.12 kB / 0.8007 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001975/0.8208, allocations: 250.7 kB / 0.8009 GB, free: 7.027 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001629/0.821, allocations: 55.91 kB / 0.801 GB, free: 6.973 MB / 0.6231 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.0007096/0.8217, allocations: 339.7 kB / 0.8013 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003976/0.8221, allocations: 134.3 kB / 0.8014 GB, free: 6.5 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005858/0.828, allocations: 1.799 MB / 0.8032 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/0.828, allocations: 8 kB / 0.8032 GB, free: 4.684 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.828, allocations: 4 kB / 0.8032 GB, free: 4.68 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.8281, allocations: 7.984 kB / 0.8032 GB, free: 4.672 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008518/0.8366, allocations: 3.336 MB / 0.8065 GB, free: 1.234 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.417e-05/0.8366, allocations: 4 kB / 0.8065 GB, free: 1.23 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001784/0.8384, allocations: 299.6 kB / 0.8068 GB, free: 0.9375 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.138e-05/0.8385, allocations: 8 kB / 0.8068 GB, free: 0.9297 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001129/0.8386, allocations: 31.97 kB / 0.8068 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.206e-05/0.8386, allocations: 8 kB / 0.8068 GB, free: 0.8906 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/0.8386, allocations: 4 kB / 0.8068 GB, free: 0.8867 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007852/0.8465, allocations: 2.855 MB / 0.8096 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007209/0.8472, allocations: 315.2 kB / 0.8099 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003173/0.8475, allocations: 27.98 kB / 0.8099 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001666/0.8492, allocations: 175.6 kB / 0.8101 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/0.8494, allocations: 68.45 kB / 0.8102 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/0.8495, allocations: 44.06 kB / 0.8102 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001206/0.8507, allocations: 0.8392 MB / 0.811 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8508, allocations: 0 / 0.811 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001247/0.852, allocations: 339.7 kB / 0.8114 GB, free: 12.15 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.001463/0.8535, allocations: 0.5323 MB / 0.8119 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005289/0.8588, allocations: 1.615 MB / 0.8135 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.8588, allocations: 4.062 kB / 0.8135 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002513/0.8613, allocations: 0.8397 MB / 0.8143 GB, free: 9.324 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003127/0.8645, allocations: 0.5851 MB / 0.8148 GB, free: 8.738 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006852/0.8713, allocations: 3.398 MB / 0.8182 GB, free: 5.262 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008896/0.8723, allocations: 1.183 MB / 0.8193 GB, free: 4.047 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001803/0.8741, allocations: 366 kB / 0.8197 GB, free: 3.688 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005182/0.8746, allocations: 115.4 kB / 0.8198 GB, free: 3.574 MB / 0.6387 GB Notification: Performance of SimCode: time 1.082e-06/0.8746, allocations: 0 / 0.8198 GB, free: 3.574 MB / 0.6387 GB Notification: Performance of Templates: time 0.3466/1.221, allocations: 22.73 MB / 0.842 GB, free: 219.3 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)