Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008618/0.0008618, allocations: 87.66 kB / 16.66 MB, free: 5.789 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.001068/0.001068, allocations: 179.1 kB / 17.58 MB, free: 5.461 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.411/1.411, allocations: 223.3 MB / 241.6 MB, free: 192 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7544/0.7544, allocations: 115.5 MB / 408.2 MB, free: 7.055 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.000376, allocations: 8 kB / 496.5 MB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4279/0.4283, allocations: 77.52 MB / 0.5606 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.2318/0.6602, allocations: 189 MB / 0.7451 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01055/0.6708, allocations: 5.124 MB / 0.7502 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001879/0.6728, allocations: 47.69 kB / 0.7502 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.4473/1.12, allocations: 0.7009 MB / 0.7509 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007954/1.128, allocations: 2.443 MB / 0.7533 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003242/1.131, allocations: 1.004 MB / 0.7542 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006663/1.138, allocations: 3.531 MB / 0.7577 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002001/1.14, allocations: 0.8051 MB / 0.7585 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002798/1.143, allocations: 0.9839 MB / 0.7594 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001929/1.145, allocations: 0.9806 MB / 0.7604 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001959/1.145, allocations: 45.94 kB / 0.7604 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005371/1.15, allocations: 2.068 MB / 0.7625 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007003/1.151, allocations: 406.9 kB / 0.7629 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001217/1.152, allocations: 0.641 MB / 0.7635 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002739/1.155, allocations: 1.494 MB / 0.7649 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.155, allocations: 0 / 0.7649 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.076e-06/1.155, allocations: 0 / 0.7649 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.375e-05/1.155, allocations: 1.859 kB / 0.7649 GB, free: 2.043 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.005189/1.16, allocations: 1.673 MB / 0.7666 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/1.16, allocations: 13.78 kB / 0.7666 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004701/1.165, allocations: 0.7534 MB / 0.7673 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001735/1.167, allocations: 0.8841 MB / 0.7682 GB, free: 16.65 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.109e-05/1.167, allocations: 70.53 kB / 0.7683 GB, free: 16.65 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002026/1.167, allocations: 85.28 kB / 0.7683 GB, free: 16.65 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00341/1.171, allocations: 1.474 MB / 0.7698 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.863e-05/1.171, allocations: 6 kB / 0.7698 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/1.171, allocations: 39.02 kB / 0.7698 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-05/1.171, allocations: 50.5 kB / 0.7699 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004421/1.175, allocations: 1.584 MB / 0.7714 GB, free: 16.41 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.007936/1.183, allocations: 5.054 MB / 0.7763 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003631/1.187, allocations: 1.238 MB / 0.7776 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001767/1.189, allocations: 0.6842 MB / 0.7782 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001352/1.19, allocations: 0.9556 MB / 0.7792 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001808/1.192, allocations: 0.7368 MB / 0.7799 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 3.537e-06/1.192, allocations: 0 / 0.7799 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.006237/1.198, allocations: 1.986 MB / 0.7818 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/1.198, allocations: 65.8 kB / 0.7819 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/1.2, allocations: 1.263 MB / 0.7831 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001087/1.2, allocations: 45.95 kB / 0.7832 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000425/1.2, allocations: 0.5744 MB / 0.7837 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002681/1.201, allocations: 282.8 kB / 0.784 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/1.201, allocations: 78.28 kB / 0.7841 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001507/1.201, allocations: 346.1 kB / 0.7844 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001568/1.202, allocations: 0.5601 MB / 0.7849 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001749/1.204, allocations: 0.8329 MB / 0.7858 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003233/1.207, allocations: 1.364 MB / 0.7871 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/1.208, allocations: 3.125 kB / 0.7871 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00376/1.211, allocations: 1.537 MB / 0.7886 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/1.211, allocations: 10.62 kB / 0.7886 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/1.211, allocations: 9.75 kB / 0.7886 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/1.211, allocations: 11.56 kB / 0.7886 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/1.213, allocations: 296.8 kB / 0.7889 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.766e-05/1.213, allocations: 17.7 kB / 0.7889 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/1.214, allocations: 224.5 kB / 0.7891 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/1.214, allocations: 59.31 kB / 0.7892 GB, free: 10.9 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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.0005682/1.215, allocations: 336 kB / 0.7895 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/1.215, allocations: 133.7 kB / 0.7896 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003815/1.219, allocations: 1.472 MB / 0.7911 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/1.219, allocations: 9.484 kB / 0.7911 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/1.219, allocations: 7.156 kB / 0.7911 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/1.219, allocations: 4.781 kB / 0.7911 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00581/1.225, allocations: 2.876 MB / 0.7939 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/1.225, allocations: 6.438 kB / 0.7939 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/1.226, allocations: 232.7 kB / 0.7941 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.095e-05/1.226, allocations: 7.906 kB / 0.7941 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.823e-05/1.226, allocations: 31.69 kB / 0.7942 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.568e-06/1.226, allocations: 11.2 kB / 0.7942 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.226, allocations: 5.125 kB / 0.7942 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005495/1.232, allocations: 2.349 MB / 0.7965 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000648/1.232, allocations: 316.3 kB / 0.7968 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/1.233, allocations: 20.31 kB / 0.7968 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/1.234, allocations: 131.6 kB / 0.7969 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/1.234, allocations: 62.42 kB / 0.797 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/1.234, allocations: 43.41 kB / 0.797 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001044/1.235, allocations: 0.8712 MB / 0.7979 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.2e-07/1.235, allocations: 3.281 kB / 0.7979 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001075/1.236, allocations: 317.7 kB / 0.7982 GB, free: 8.891 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (82): * Single equations (assignments): 76 * 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.001308/1.238, allocations: 0.5306 MB / 0.7987 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003607/1.241, allocations: 1.326 MB / 0.8 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/1.241, allocations: 1.859 kB / 0.8 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001742/1.243, allocations: 0.6756 MB / 0.8007 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003577/1.247, allocations: 0.6015 MB / 0.8012 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005426/1.252, allocations: 3.108 MB / 0.8043 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007263/1.253, allocations: 1.167 MB / 0.8054 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005206/1.253, allocations: 128.8 kB / 0.8055 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of SimCode: time 2.51e-07/1.253, allocations: 1.859 kB / 0.8055 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of Templates: time 0.03758/1.291, allocations: 20.69 MB / 0.8258 GB, free: 6.418 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)