Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001539/0.001539, allocations: 105.4 kB / 15.98 MB, free: 6.336 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.001655/0.001656, allocations: 197.6 kB / 16.91 MB, free: 6.191 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.297/1.297, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7535/0.7535, allocations: 132.2 MB / 422.9 MB, free: 6.824 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 63.91 kB / 0.5019 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3916, allocations: 80.18 MB / 0.5802 GB, free: 27.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.5984/0.99, allocations: 191.3 MB / 0.767 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009624/0.9997, allocations: 5.122 MB / 0.772 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0016/1.001, allocations: 44.22 kB / 0.7721 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001872/1.003, allocations: 0.7314 MB / 0.7728 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007017/1.01, allocations: 2.442 MB / 0.7752 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003105/1.013, allocations: 1.015 MB / 0.7762 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004633/1.018, allocations: 2.61 MB / 0.7787 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001942/1.02, allocations: 0.8985 MB / 0.7796 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003071/1.023, allocations: 1.119 MB / 0.7807 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002143/1.025, allocations: 1.007 MB / 0.7817 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004421/1.026, allocations: 85.02 kB / 0.7817 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004651/1.03, allocations: 1.849 MB / 0.7835 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00101/1.031, allocations: 446.6 kB / 0.784 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001954/1.033, allocations: 0.6528 MB / 0.7846 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003277/1.037, allocations: 1.551 MB / 0.7861 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/1.037, allocations: 5.969 kB / 0.7861 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.014e-06/1.037, allocations: 0 / 0.7861 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.143e-05/1.037, allocations: 0.9375 kB / 0.7861 GB, free: 1.289 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.006069/1.043, allocations: 1.927 MB / 0.788 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/1.043, allocations: 15.78 kB / 0.788 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004302/1.047, allocations: 0.7045 MB / 0.7887 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/1.049, allocations: 0.8842 MB / 0.7896 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.713e-05/1.049, allocations: 71.67 kB / 0.7897 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001668/1.049, allocations: 93.78 kB / 0.7897 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003069/1.052, allocations: 1.464 MB / 0.7912 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/1.052, allocations: 3.984 kB / 0.7912 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/1.052, allocations: 38.25 kB / 0.7912 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.638e-05/1.052, allocations: 49.02 kB / 0.7913 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003976/1.056, allocations: 1.562 MB / 0.7928 GB, free: 15.66 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.007147/1.064, allocations: 5.013 MB / 0.7977 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003171/1.067, allocations: 1.187 MB / 0.7988 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00156/1.068, allocations: 0.672 MB / 0.7995 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001404/1.07, allocations: 0.9415 MB / 0.8004 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001809/1.072, allocations: 0.725 MB / 0.8011 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 2.975e-06/1.072, allocations: 3 kB / 0.8011 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.005698/1.077, allocations: 1.955 MB / 0.803 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.764e-05/1.077, allocations: 58.75 kB / 0.8031 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001575/1.079, allocations: 1.267 MB / 0.8043 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001245/1.079, allocations: 44.17 kB / 0.8044 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004384/1.08, allocations: 0.5705 MB / 0.8049 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002757/1.08, allocations: 278.5 kB / 0.8052 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000293/1.08, allocations: 185.8 kB / 0.8054 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001469/1.08, allocations: 343.5 kB / 0.8057 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001472/1.082, allocations: 0.5438 MB / 0.8062 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001697/1.083, allocations: 0.826 MB / 0.807 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003141/1.087, allocations: 1.342 MB / 0.8083 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/1.087, allocations: 3.938 kB / 0.8083 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004126/1.091, allocations: 1.516 MB / 0.8098 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/1.091, allocations: 6.781 kB / 0.8098 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/1.091, allocations: 8.438 kB / 0.8098 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.797e-05/1.091, allocations: 11 kB / 0.8099 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/1.092, allocations: 297.3 kB / 0.8101 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.917e-05/1.092, allocations: 13.19 kB / 0.8101 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/1.094, allocations: 221.9 kB / 0.8104 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/1.094, allocations: 45.72 kB / 0.8104 GB, free: 10.2 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.0006365/1.095, allocations: 338.8 kB / 0.8107 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002207/1.095, allocations: 137 kB / 0.8109 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00375/1.099, allocations: 1.447 MB / 0.8123 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/1.099, allocations: 10.78 kB / 0.8123 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/1.099, allocations: 1.312 kB / 0.8123 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/1.099, allocations: 3.891 kB / 0.8123 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005968/1.105, allocations: 2.874 MB / 0.8151 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/1.105, allocations: 6.188 kB / 0.8151 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/1.106, allocations: 217.6 kB / 0.8153 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.244e-05/1.106, allocations: 11.66 kB / 0.8153 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.011e-05/1.106, allocations: 28.91 kB / 0.8153 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.239e-05/1.106, allocations: 13.95 kB / 0.8154 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/1.106, allocations: 7.156 kB / 0.8154 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005511/1.112, allocations: 2.309 MB / 0.8176 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007412/1.112, allocations: 298.7 kB / 0.8179 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002067/1.113, allocations: 35.64 kB / 0.8179 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/1.114, allocations: 118.6 kB / 0.8181 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/1.114, allocations: 66.98 kB / 0.8181 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.212e-05/1.114, allocations: 36.34 kB / 0.8182 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001113/1.115, allocations: 0.8758 MB / 0.819 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.91e-07/1.115, allocations: 0 / 0.819 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001121/1.116, allocations: 317.9 kB / 0.8193 GB, free: 7.57 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.001389/1.118, allocations: 0.5309 MB / 0.8198 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004022/1.122, allocations: 1.433 MB / 0.8212 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/1.122, allocations: 0 / 0.8212 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001724/1.123, allocations: 0.663 MB / 0.8219 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003026/1.126, allocations: 0.624 MB / 0.8225 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005243/1.132, allocations: 3.043 MB / 0.8255 GB, free: 3.273 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007612/1.132, allocations: 1.171 MB / 0.8266 GB, free: 2.102 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006054/1.133, allocations: 129.9 kB / 0.8267 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of SimCode: time 1.303e-06/1.133, allocations: 0 / 0.8267 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of Templates: time 0.03351/1.167, allocations: 20.89 MB / 0.8471 GB, free: 13.28 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)