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.001317/0.001317, allocations: 115.4 kB / 17.04 MB, free: 6.035 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.001054/0.001054, allocations: 194.9 kB / 17.98 MB, free: 5.113 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.252/1.252, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.693/0.693, allocations: 115.1 MB / 407 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 67.89 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3181, allocations: 76.14 MB / 0.5576 GB, free: 36.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.1781/0.4962, allocations: 193.8 MB / 0.7468 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3027/0.7989, allocations: 5.126 MB / 0.7518 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001357/0.8003, allocations: 49.88 kB / 0.7519 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00198/0.8023, allocations: 0.8134 MB / 0.7527 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006289/0.8086, allocations: 2.592 MB / 0.7552 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00294/0.8116, allocations: 1.116 MB / 0.7563 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004321/0.8159, allocations: 2.609 MB / 0.7589 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001867/0.8178, allocations: 0.8997 MB / 0.7597 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002669/0.8205, allocations: 1.081 MB / 0.7608 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002149/0.8226, allocations: 0.94 MB / 0.7617 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004731/0.8231, allocations: 79.16 kB / 0.7618 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005109/0.8283, allocations: 1.786 MB / 0.7635 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007889/0.8291, allocations: 438 kB / 0.7639 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002122/0.8312, allocations: 0.6441 MB / 0.7646 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004704/0.8359, allocations: 2.169 MB / 0.7667 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.8359, allocations: 1.219 kB / 0.7667 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8359, allocations: 0.9688 kB / 0.7667 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.613e-05/0.836, allocations: 0 / 0.7667 GB, free: 1.512 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.005014/0.841, allocations: 1.928 MB / 0.7686 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.8411, allocations: 10.56 kB / 0.7686 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003739/0.8448, allocations: 0.6564 MB / 0.7692 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001827/0.8466, allocations: 0.9484 MB / 0.7701 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.209e-05/0.8467, allocations: 68.72 kB / 0.7702 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001651/0.8469, allocations: 86.97 kB / 0.7703 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002863/0.8497, allocations: 1.474 MB / 0.7717 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.8498, allocations: 4.75 kB / 0.7717 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.534e-05/0.8499, allocations: 39.81 kB / 0.7718 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.793e-05/0.8499, allocations: 50.97 kB / 0.7718 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003807/0.8538, allocations: 1.517 MB / 0.7733 GB, free: 15.87 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.007587/0.8614, allocations: 5.476 MB / 0.7787 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003076/0.8645, allocations: 1.288 MB / 0.7799 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001407/0.8659, allocations: 0.6614 MB / 0.7806 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008259/0.8667, allocations: 0.577 MB / 0.7811 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001535/0.8683, allocations: 0.7126 MB / 0.7818 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 2.835e-06/0.8683, allocations: 2 kB / 0.7818 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.004911/0.8732, allocations: 1.876 MB / 0.7837 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.8733, allocations: 64.52 kB / 0.7837 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/0.8747, allocations: 1.241 MB / 0.7849 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.906e-05/0.8748, allocations: 44.7 kB / 0.785 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003931/0.8752, allocations: 0.5853 MB / 0.7855 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002303/0.8754, allocations: 274 kB / 0.7858 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000279/0.8757, allocations: 183.9 kB / 0.786 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.8758, allocations: 342.3 kB / 0.7863 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001376/0.8772, allocations: 0.5364 MB / 0.7868 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001539/0.8787, allocations: 0.8225 MB / 0.7876 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002816/0.8816, allocations: 1.326 MB / 0.7889 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.8816, allocations: 2.094 kB / 0.7889 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003334/0.8849, allocations: 1.499 MB / 0.7904 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.885, allocations: 5.5 kB / 0.7904 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/0.885, allocations: 7.938 kB / 0.7904 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.627e-05/0.885, allocations: 17.56 kB / 0.7904 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/0.8863, allocations: 290.3 kB / 0.7907 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/0.8864, allocations: 17.28 kB / 0.7907 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/0.8877, allocations: 196.3 kB / 0.7909 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.445e-05/0.8878, allocations: 47.83 kB / 0.7909 GB, free: 10.36 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.0005262/0.8883, allocations: 344.5 kB / 0.7913 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001937/0.8885, allocations: 133.7 kB / 0.7914 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00333/0.8918, allocations: 1.411 MB / 0.7928 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.8918, allocations: 6.812 kB / 0.7928 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.8919, allocations: 0 / 0.7928 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.8919, allocations: 6.906 kB / 0.7928 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005075/0.897, allocations: 2.801 MB / 0.7955 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.857e-05/0.897, allocations: 5.219 kB / 0.7955 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001147/0.8981, allocations: 230.1 kB / 0.7958 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/0.8982, allocations: 8.156 kB / 0.7958 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.998e-05/0.8982, allocations: 32.55 kB / 0.7958 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.418e-06/0.8983, allocations: 11.16 kB / 0.7958 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.8983, allocations: 3.375 kB / 0.7958 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004676/0.903, allocations: 2.247 MB / 0.798 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006007/0.9036, allocations: 296.3 kB / 0.7983 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001746/0.9038, allocations: 24.41 kB / 0.7983 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.9048, allocations: 112.7 kB / 0.7984 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.9049, allocations: 59.25 kB / 0.7985 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-05/0.905, allocations: 37.7 kB / 0.7985 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009584/0.906, allocations: 0.8563 MB / 0.7993 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.72e-07/0.906, allocations: 0 / 0.7993 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001013/0.907, allocations: 317.1 kB / 0.7996 GB, free: 8.832 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.001169/0.9082, allocations: 0.543 MB / 0.8002 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003237/0.9114, allocations: 1.296 MB / 0.8014 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.9114, allocations: 0 / 0.8014 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001482/0.9129, allocations: 0.6374 MB / 0.8021 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002337/0.9153, allocations: 0.591 MB / 0.8026 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004529/0.9198, allocations: 2.561 MB / 0.8051 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006492/0.9205, allocations: 1.168 MB / 0.8063 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001077/0.9216, allocations: 347.3 kB / 0.8066 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000348/0.9219, allocations: 107.5 kB / 0.8067 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of SimCode: time 7.81e-07/0.9219, allocations: 3.188 kB / 0.8067 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of Templates: time 0.03247/0.9544, allocations: 22.21 MB / 0.8284 GB, free: 3.031 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)