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.003834/0.003839, allocations: 357.2 kB / 15.94 MB, free: 6.207 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.563/1.563, allocations: 165.8 MB / 182.5 MB, free: 5.547 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.604/3.604, allocations: 410.7 MB / 0.5995 GB, free: 15.3 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.001694/0.001694, allocations: 196.7 kB / 0.6662 GB, free: 6.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004547/0.000455, allocations: 19.92 kB / 0.7423 GB, free: 8.988 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3297, allocations: 67.43 MB / 0.8081 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5813/0.9111, allocations: 174 MB / 0.9781 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.00961/0.9207, allocations: 5.058 MB / 0.983 GB, free: 0.5 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001688/0.9224, allocations: 43.78 kB / 0.9831 GB, free: 488 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002444/0.9249, allocations: 0.7193 MB / 0.9838 GB, free: 336 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007163/0.9321, allocations: 1.891 MB / 0.9856 GB, free: 15.87 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004433/0.9366, allocations: 1.193 MB / 0.9868 GB, free: 15.59 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.004374/0.941, allocations: 3.045 MB / 0.9897 GB, free: 14.52 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001486/0.9425, allocations: 0.756 MB / 0.9905 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002425/0.9449, allocations: 1.009 MB / 0.9915 GB, free: 13.83 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001606/0.9466, allocations: 0.9431 MB / 0.9924 GB, free: 13.5 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002161/0.9468, allocations: 46.78 kB / 0.9924 GB, free: 13.5 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002797/0.9496, allocations: 0.8588 MB / 0.9933 GB, free: 13.25 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005828/0.9502, allocations: 410.1 kB / 0.9937 GB, free: 13.07 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005081/0.9508, allocations: 270.2 kB / 0.9939 GB, free: 13 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002297/0.9531, allocations: 1.359 MB / 0.9953 GB, free: 12.37 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.219e-06/0.9531, allocations: 2.656 kB / 0.9953 GB, free: 12.37 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.239e-06/0.9531, allocations: 0 / 0.9953 GB, free: 12.37 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.815e-05/0.9531, allocations: 0 / 0.9953 GB, free: 12.37 MB / 490.7 MB 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.006011/0.9592, allocations: 1.717 MB / 0.9969 GB, free: 11.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.9592, allocations: 8.312 kB / 0.9969 GB, free: 11.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006489/0.9657, allocations: 0.9346 MB / 0.9979 GB, free: 10.82 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002106/0.9679, allocations: 0.8741 MB / 0.9987 GB, free: 10.29 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.409e-05/0.968, allocations: 75.23 kB / 0.9988 GB, free: 10.28 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002257/0.9682, allocations: 99.08 kB / 0.9989 GB, free: 10.28 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004588/0.9728, allocations: 1.572 MB / 1 GB, free: 9.742 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/0.9729, allocations: 0 / 1 GB, free: 9.742 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001408/0.973, allocations: 35.88 kB / 1 GB, free: 9.742 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.82e-05/0.9731, allocations: 46.45 kB / 1 GB, free: 9.738 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006484/0.9796, allocations: 1.842 MB / 1.002 GB, free: 9.32 MB / 490.7 MB 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.009954/0.9896, allocations: 4.763 MB / 1.007 GB, free: 6.562 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005528/0.9951, allocations: 1.583 MB / 1.008 GB, free: 6.203 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002862/0.998, allocations: 0.8515 MB / 1.009 GB, free: 6.008 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001602/0.9997, allocations: 0.9528 MB / 1.01 GB, free: 5.02 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003003/1.003, allocations: 0.9074 MB / 1.011 GB, free: 4.695 MB / 490.7 MB Notification: Performance of pre-optimization done (n=95): time 4.533e-06/1.003, allocations: 0 / 1.011 GB, free: 4.695 MB / 490.7 MB Notification: Performance of matching and sorting (n=95): time 0.01042/1.013, allocations: 2.442 MB / 1.014 GB, free: 3.004 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.212e-05/1.013, allocations: 60.41 kB / 1.014 GB, free: 2.934 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002027/1.015, allocations: 1.206 MB / 1.015 GB, free: 1.992 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002264/1.016, allocations: 50.75 kB / 1.015 GB, free: 1.953 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005512/1.016, allocations: 0.5473 MB / 1.015 GB, free: 1.668 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004468/1.017, allocations: 325.1 kB / 1.016 GB, free: 1.398 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.796e-05/1.017, allocations: 20.25 kB / 1.016 GB, free: 1.395 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001923/1.017, allocations: 348.7 kB / 1.016 GB, free: 1.062 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002978/1.02, allocations: 0.6949 MB / 1.017 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003092/1.023, allocations: 0.9255 MB / 1.018 GB, free: 15.71 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002854/1.026, allocations: 0.7284 MB / 1.018 GB, free: 15.17 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.905e-06/1.026, allocations: 4 kB / 1.018 GB, free: 15.17 MB / 0.4949 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.006527/1.033, allocations: 1.758 MB / 1.02 GB, free: 13.77 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/1.033, allocations: 8.438 kB / 1.02 GB, free: 13.77 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/1.033, allocations: 8 kB / 1.02 GB, free: 13.76 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.906e-05/1.033, allocations: 11.98 kB / 1.02 GB, free: 13.75 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002353/1.035, allocations: 340.9 kB / 1.02 GB, free: 13.42 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.459e-05/1.035, allocations: 13.8 kB / 1.02 GB, free: 13.41 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002113/1.037, allocations: 256.4 kB / 1.021 GB, free: 13.18 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001794/1.037, allocations: 50.66 kB / 1.021 GB, free: 13.13 MB / 0.4949 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.0007874/1.038, allocations: 342.6 kB / 1.021 GB, free: 12.87 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003214/1.039, allocations: 130.4 kB / 1.021 GB, free: 12.74 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006547/1.045, allocations: 1.8 MB / 1.023 GB, free: 11.37 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/1.045, allocations: 11.98 kB / 1.023 GB, free: 11.36 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.394e-06/1.045, allocations: 0 / 1.023 GB, free: 11.36 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-05/1.045, allocations: 7.969 kB / 1.023 GB, free: 11.35 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009769/1.055, allocations: 3.316 MB / 1.026 GB, free: 8.711 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-05/1.055, allocations: 7.938 kB / 1.026 GB, free: 8.703 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002222/1.057, allocations: 303.3 kB / 1.026 GB, free: 8.418 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.785e-05/1.057, allocations: 8 kB / 1.026 GB, free: 8.41 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001408/1.057, allocations: 29.34 kB / 1.026 GB, free: 8.391 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.387e-05/1.057, allocations: 12 kB / 1.026 GB, free: 8.379 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.351e-05/1.057, allocations: 7.953 kB / 1.026 GB, free: 8.371 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009878/1.067, allocations: 2.831 MB / 1.029 GB, free: 6.113 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009984/1.068, allocations: 331.6 kB / 1.03 GB, free: 5.82 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003196/1.069, allocations: 22.73 kB / 1.03 GB, free: 5.809 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00205/1.071, allocations: 174.6 kB / 1.03 GB, free: 5.652 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002452/1.071, allocations: 69.41 kB / 1.03 GB, free: 5.59 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000166/1.071, allocations: 42.47 kB / 1.03 GB, free: 5.555 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.00151/1.073, allocations: 0.834 MB / 1.031 GB, free: 4.914 MB / 0.4949 GB Notification: Performance of sort global known variables: time 8.8e-07/1.073, allocations: 0 / 1.031 GB, free: 4.914 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.001619/1.074, allocations: 346.5 kB / 1.031 GB, free: 4.605 MB / 0.4949 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 (95): * Single equations (assignments): 89 * 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.001861/1.076, allocations: 0.5193 MB / 1.032 GB, free: 4.277 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.006284/1.083, allocations: 1.616 MB / 1.033 GB, free: 2.992 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/1.083, allocations: 4 kB / 1.033 GB, free: 2.988 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.003179/1.086, allocations: 0.8306 MB / 1.034 GB, free: 2.332 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003795/1.09, allocations: 0.6037 MB / 1.034 GB, free: 1.844 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008582/1.098, allocations: 3.407 MB / 1.038 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001173/1.1, allocations: 1.214 MB / 1.039 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002537/1.102, allocations: 374.2 kB / 1.039 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007454/1.103, allocations: 118.2 kB / 1.039 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of SimCode: time 1.933e-06/1.103, allocations: 3.938 kB / 1.039 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of Templates: time 0.05531/1.158, allocations: 22.37 MB / 1.061 GB, free: 6.828 MB / 0.5261 GB