Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009784/0.0009782, allocations: 89.67 kB / 16.66 MB, free: 5.742 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.001147/0.001148, allocations: 181.5 kB / 17.58 MB, free: 5.477 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.361/1.361, allocations: 223.3 MB / 241.6 MB, free: 14.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7038/0.7038, allocations: 115.5 MB / 408.2 MB, free: 7.07 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003898/0.0003899, allocations: 8 kB / 496.5 MB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4187/0.4191, allocations: 77.51 MB / 0.5606 GB, free: 35.49 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.211/0.6302, allocations: 189 MB / 0.7451 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00925/0.6395, allocations: 5.131 MB / 0.7502 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001691/0.6413, allocations: 39.69 kB / 0.7502 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.366/1.007, allocations: 0.7097 MB / 0.7509 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006978/1.014, allocations: 2.442 MB / 0.7533 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002871/1.017, allocations: 1 MB / 0.7542 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006107/1.023, allocations: 3.543 MB / 0.7577 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001932/1.025, allocations: 0.8086 MB / 0.7585 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00341/1.029, allocations: 0.9817 MB / 0.7595 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002427/1.031, allocations: 0.971 MB / 0.7604 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002334/1.031, allocations: 47.08 kB / 0.7604 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005196/1.037, allocations: 2.064 MB / 0.7625 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008267/1.037, allocations: 400.8 kB / 0.7628 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001224/1.039, allocations: 0.6308 MB / 0.7635 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002917/1.042, allocations: 1.492 MB / 0.7649 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/1.042, allocations: 0 / 0.7649 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.182e-06/1.042, allocations: 0 / 0.7649 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.133e-05/1.042, allocations: 5.062 kB / 0.7649 GB, free: 1.988 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.005347/1.047, allocations: 1.676 MB / 0.7666 GB, free: 17.09 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/1.047, allocations: 13.09 kB / 0.7666 GB, free: 17.09 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004346/1.051, allocations: 0.7003 MB / 0.7673 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001687/1.053, allocations: 0.8848 MB / 0.7681 GB, free: 16.6 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.896e-05/1.053, allocations: 67.7 kB / 0.7682 GB, free: 16.6 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001966/1.053, allocations: 84.72 kB / 0.7683 GB, free: 16.6 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00338/1.057, allocations: 1.49 MB / 0.7697 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/1.057, allocations: 4.656 kB / 0.7697 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/1.057, allocations: 32.75 kB / 0.7698 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.076e-05/1.057, allocations: 48.44 kB / 0.7698 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004291/1.061, allocations: 1.544 MB / 0.7713 GB, free: 16.31 MB / 0.5919 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.008037/1.069, allocations: 5.507 MB / 0.7767 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003984/1.073, allocations: 1.32 MB / 0.778 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001794/1.075, allocations: 0.6748 MB / 0.7786 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009963/1.076, allocations: 0.5919 MB / 0.7792 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001861/1.078, allocations: 0.7223 MB / 0.7799 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 3.166e-06/1.078, allocations: 1.781 kB / 0.7799 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.005767/1.084, allocations: 1.911 MB / 0.7818 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/1.084, allocations: 60.09 kB / 0.7818 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/1.086, allocations: 1.246 MB / 0.7831 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001249/1.086, allocations: 41.98 kB / 0.7831 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004161/1.086, allocations: 0.5793 MB / 0.7837 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002553/1.086, allocations: 281.7 kB / 0.7839 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/1.086, allocations: 80.53 kB / 0.784 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000136/1.087, allocations: 338.8 kB / 0.7843 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00157/1.088, allocations: 0.5453 MB / 0.7849 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001785/1.09, allocations: 0.8322 MB / 0.7857 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003213/1.093, allocations: 1.352 MB / 0.787 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.343e-06/1.093, allocations: 3.531 kB / 0.787 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003881/1.097, allocations: 1.514 MB / 0.7885 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/1.097, allocations: 10.48 kB / 0.7885 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/1.097, allocations: 6.094 kB / 0.7885 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.96e-05/1.097, allocations: 15.47 kB / 0.7885 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/1.099, allocations: 304 kB / 0.7888 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.892e-05/1.099, allocations: 15.42 kB / 0.7888 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/1.1, allocations: 228 kB / 0.789 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/1.1, allocations: 55.33 kB / 0.7891 GB, free: 10.64 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (117): * Single equations (assignments): 117 * 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.0006315/1.101, allocations: 334.3 kB / 0.7894 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/1.101, allocations: 137.4 kB / 0.7895 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003708/1.105, allocations: 1.436 MB / 0.7909 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/1.105, allocations: 6.469 kB / 0.7909 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/1.105, allocations: 2.875 kB / 0.791 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/1.105, allocations: 4.969 kB / 0.791 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00581/1.111, allocations: 2.825 MB / 0.7937 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/1.111, allocations: 2.938 kB / 0.7937 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/1.112, allocations: 227.5 kB / 0.7939 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.12e-05/1.112, allocations: 8.25 kB / 0.7939 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.408e-05/1.112, allocations: 38.23 kB / 0.794 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.876e-06/1.112, allocations: 8.188 kB / 0.794 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/1.112, allocations: 6.5 kB / 0.794 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005465/1.118, allocations: 2.286 MB / 0.7962 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007348/1.118, allocations: 302.6 kB / 0.7965 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000178/1.119, allocations: 30.11 kB / 0.7965 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/1.12, allocations: 137.5 kB / 0.7967 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/1.12, allocations: 59.97 kB / 0.7967 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-05/1.12, allocations: 38.16 kB / 0.7968 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001125/1.121, allocations: 0.8522 MB / 0.7976 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.71e-07/1.121, allocations: 0 / 0.7976 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001171/1.122, allocations: 327.8 kB / 0.7979 GB, free: 8.672 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (80): * Single equations (assignments): 74 * 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.001351/1.124, allocations: 0.5295 MB / 0.7984 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003669/1.127, allocations: 1.298 MB / 0.7997 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/1.127, allocations: 0 / 0.7997 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001741/1.129, allocations: 0.6553 MB / 0.8003 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003653/1.133, allocations: 0.5714 MB / 0.8009 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006199/1.139, allocations: 3.117 MB / 0.8039 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008347/1.14, allocations: 1.169 MB / 0.8051 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006784/1.141, allocations: 125.9 kB / 0.8052 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of SimCode: time 8.22e-07/1.141, allocations: 0 / 0.8052 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of Templates: time 0.04171/1.182, allocations: 20.14 MB / 0.8249 GB, free: 7.062 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)