Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00252/0.002524, allocations: 357.3 kB / 16.58 MB, free: 5.57 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.438/1.438, allocations: 165.8 MB / 183.1 MB, free: 5.449 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.659/3.659, allocations: 410.8 MB / 0.6001 GB, free: 15.19 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001759/0.001758, allocations: 187.4 kB / 0.6668 GB, free: 6.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004551/0.0004556, allocations: 12 kB / 0.7429 GB, free: 8.996 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.3935, allocations: 67.44 MB / 0.8087 GB, free: 28.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.74/6.133, allocations: 2.029 GB / 2.838 GB, free: 66.23 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/6.133, allocations: 91.94 kB / 2.838 GB, free: 66.18 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.303/9.436, allocations: 0.6794 GB / 3.517 GB, free: 36.87 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.723e-06/9.436, allocations: 0 / 3.517 GB, free: 36.87 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001327/9.436, allocations: 43.97 kB / 3.517 GB, free: 36.82 MB / 0.573 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.01041/9.447, allocations: 1.957 MB / 3.519 GB, free: 34.81 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/9.447, allocations: 8.031 kB / 3.519 GB, free: 34.8 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00887/9.456, allocations: 0.8839 MB / 3.52 GB, free: 33.92 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005159/9.461, allocations: 1.11 MB / 3.521 GB, free: 32.75 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.709e-05/9.461, allocations: 73.97 kB / 3.521 GB, free: 32.68 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003176/9.461, allocations: 99.91 kB / 3.521 GB, free: 32.58 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006333/9.468, allocations: 1.548 MB / 3.523 GB, free: 31 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.978e-05/9.468, allocations: 0 / 3.523 GB, free: 31 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001761/9.468, allocations: 36 kB / 3.523 GB, free: 30.96 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.8e-05/9.468, allocations: 57.86 kB / 3.523 GB, free: 30.91 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00887/9.477, allocations: 1.788 MB / 3.525 GB, free: 29.12 MB / 0.573 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.01174/9.489, allocations: 4.792 MB / 3.529 GB, free: 24.1 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007527/9.496, allocations: 1.583 MB / 3.531 GB, free: 22.52 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00395/9.5, allocations: 0.8274 MB / 3.532 GB, free: 21.68 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001625/9.502, allocations: 0.9452 MB / 3.533 GB, free: 20.55 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004137/9.506, allocations: 0.8989 MB / 3.534 GB, free: 19.64 MB / 0.573 GB Notification: Performance of pre-optimization done (n=95): time 4.298e-06/9.506, allocations: 0 / 3.534 GB, free: 19.64 MB / 0.573 GB Notification: Performance of matching and sorting (n=95): time 0.01322/9.519, allocations: 2.439 MB / 3.536 GB, free: 17.2 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/9.52, allocations: 64.41 kB / 3.536 GB, free: 17.12 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002114/9.522, allocations: 1.209 MB / 3.537 GB, free: 15.9 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002791/9.522, allocations: 49.7 kB / 3.537 GB, free: 15.85 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005085/9.522, allocations: 0.5488 MB / 3.538 GB, free: 15.29 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004009/9.523, allocations: 331.3 kB / 3.538 GB, free: 14.96 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/9.523, allocations: 16 kB / 3.538 GB, free: 14.95 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 8.685e-05/9.523, allocations: 345.9 kB / 3.538 GB, free: 14.61 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003724/9.527, allocations: 0.6967 MB / 3.539 GB, free: 13.91 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004054/9.531, allocations: 0.9598 MB / 3.54 GB, free: 12.85 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003831/9.535, allocations: 0.7406 MB / 3.541 GB, free: 12.11 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/9.535, allocations: 0 / 3.541 GB, free: 12.11 MB / 0.573 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.008582/9.543, allocations: 1.764 MB / 3.542 GB, free: 10.34 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/9.543, allocations: 11.95 kB / 3.542 GB, free: 10.33 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/9.544, allocations: 4 kB / 3.542 GB, free: 10.32 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.454e-05/9.544, allocations: 11.98 kB / 3.543 GB, free: 10.31 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003275/9.547, allocations: 344 kB / 3.543 GB, free: 9.977 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.077e-05/9.547, allocations: 11.94 kB / 3.543 GB, free: 9.965 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00317/9.55, allocations: 262.7 kB / 3.543 GB, free: 9.707 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002122/9.55, allocations: 47.97 kB / 3.543 GB, free: 9.66 MB / 0.573 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 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009541/9.551, allocations: 343.7 kB / 3.543 GB, free: 9.316 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003836/9.552, allocations: 130.4 kB / 3.544 GB, free: 9.188 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008686/9.56, allocations: 1.846 MB / 3.545 GB, free: 7.332 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/9.56, allocations: 8 kB / 3.545 GB, free: 7.324 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.577e-06/9.56, allocations: 0 / 3.545 GB, free: 7.324 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.742e-05/9.56, allocations: 7.984 kB / 3.545 GB, free: 7.316 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01226/9.573, allocations: 3.415 MB / 3.549 GB, free: 3.801 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/9.573, allocations: 4 kB / 3.549 GB, free: 3.797 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003249/9.576, allocations: 296 kB / 3.549 GB, free: 3.508 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.669e-05/9.576, allocations: 8 kB / 3.549 GB, free: 3.5 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001868/9.576, allocations: 35.97 kB / 3.549 GB, free: 3.465 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.246e-05/9.576, allocations: 8 kB / 3.549 GB, free: 3.457 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/9.576, allocations: 11.94 kB / 3.549 GB, free: 3.445 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01243/9.589, allocations: 2.864 MB / 3.552 GB, free: 0.5156 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/9.59, allocations: 363 kB / 3.552 GB, free: 144 kB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003265/9.59, allocations: 28.11 kB / 3.552 GB, free: 116 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002696/9.593, allocations: 179.8 kB / 3.552 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002209/9.593, allocations: 80.8 kB / 3.553 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001625/9.593, allocations: 35.98 kB / 3.553 GB, free: 15.82 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001817/9.595, allocations: 0.8357 MB / 3.553 GB, free: 14.98 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.31e-07/9.595, allocations: 4 kB / 3.553 GB, free: 14.98 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002521/9.598, allocations: 0.5114 MB / 3.554 GB, free: 14.46 MB / 0.5886 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 (101): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004421/9.602, allocations: 2.027 MB / 3.556 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.008929/9.611, allocations: 1.61 MB / 3.557 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/9.611, allocations: 0 / 3.557 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.004573/9.616, allocations: 0.842 MB / 3.558 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005525/9.621, allocations: 0.6023 MB / 3.559 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/9.632, allocations: 3.451 MB / 3.562 GB, free: 5.938 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/9.634, allocations: 1.219 MB / 3.563 GB, free: 4.688 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002986/9.637, allocations: 370 kB / 3.564 GB, free: 4.324 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008677/9.637, allocations: 123.4 kB / 3.564 GB, free: 4.203 MB / 0.5886 GB Notification: Performance of SimCode: time 3.277e-06/9.637, allocations: 0 / 3.564 GB, free: 4.203 MB / 0.5886 GB Notification: Performance of Templates: time 0.5256/10.16, allocations: 43.02 MB / 3.606 GB, free: 93.55 MB / 0.5886 GB