Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.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.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00254/0.00254, allocations: 361.1 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.392/1.392, allocations: 165.8 MB / 183.1 MB, free: 5.438 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.633/3.633, allocations: 410.8 MB / 0.6001 GB, free: 15.14 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.001756/0.001756, allocations: 190 kB / 0.6668 GB, free: 6.906 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004654/0.0004656, allocations: 12 kB / 0.7429 GB, free: 8.934 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4228/0.4233, allocations: 67.43 MB / 0.8087 GB, free: 28.78 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.319/1.743, allocations: 349.5 MB / 1.15 GB, free: 157.9 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/1.743, allocations: 96.56 kB / 1.15 GB, free: 157.9 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.204/2.948, allocations: 252.9 MB / 1.397 GB, free: 142.7 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.274e-06/2.948, allocations: 3.031 kB / 1.397 GB, free: 142.7 MB / 0.573 GB Notification: Performance of Transformations before backend: time 6.431e-05/2.948, allocations: 20.81 kB / 1.397 GB, free: 142.7 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.00243/2.95, allocations: 1.022 MB / 1.398 GB, free: 142.2 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/2.95, allocations: 10.94 kB / 1.398 GB, free: 142.2 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001335/2.952, allocations: 181.6 kB / 1.398 GB, free: 142.2 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03267/2.984, allocations: 10.91 MB / 1.409 GB, free: 141.6 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005902/2.985, allocations: 98.66 kB / 1.409 GB, free: 141.6 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/2.985, allocations: 40 kB / 1.409 GB, free: 141.6 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/2.987, allocations: 0.5115 MB / 1.41 GB, free: 141.5 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/2.987, allocations: 7.062 kB / 1.41 GB, free: 141.5 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.738e-05/2.987, allocations: 17.06 kB / 1.41 GB, free: 141.5 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.606e-05/2.987, allocations: 10.97 kB / 1.41 GB, free: 141.5 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001655/2.988, allocations: 420 kB / 1.41 GB, free: 141.5 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.004102/2.993, allocations: 2.269 MB / 1.412 GB, free: 140.1 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001661/2.994, allocations: 385.9 kB / 1.413 GB, free: 140.1 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008168/2.995, allocations: 231.4 kB / 1.413 GB, free: 140.1 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003267/2.995, allocations: 349.7 kB / 1.413 GB, free: 139.7 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009678/2.996, allocations: 311.2 kB / 1.413 GB, free: 139.6 MB / 0.573 GB Notification: Performance of pre-optimization done (n=33): time 3.116e-06/2.996, allocations: 0 / 1.413 GB, free: 139.6 MB / 0.573 GB Notification: Performance of matching and sorting (n=33): time 0.003728/3, allocations: 0.8972 MB / 1.414 GB, free: 139.4 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/3, allocations: 94.52 kB / 1.414 GB, free: 139.3 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007412/3.001, allocations: 487.4 kB / 1.415 GB, free: 139.2 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 7.488e-05/3.001, allocations: 35.7 kB / 1.415 GB, free: 139.1 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002289/3.001, allocations: 277.2 kB / 1.415 GB, free: 139 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/3.001, allocations: 107.9 kB / 1.415 GB, free: 139 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/3.002, allocations: 3.625 kB / 1.415 GB, free: 139 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001009/3.002, allocations: 366.4 kB / 1.416 GB, free: 138.7 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007614/3.002, allocations: 178.3 kB / 1.416 GB, free: 138.7 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008281/3.003, allocations: 284.2 kB / 1.416 GB, free: 138.6 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007949/3.004, allocations: 225.9 kB / 1.416 GB, free: 138.5 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/3.004, allocations: 2.156 kB / 1.416 GB, free: 138.5 MB / 0.573 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.002324/3.006, allocations: 0.6484 MB / 1.417 GB, free: 138.4 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 8.921e-05/3.006, allocations: 169.6 kB / 1.417 GB, free: 138.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/3.007, allocations: 0 / 1.417 GB, free: 138.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004892/3.007, allocations: 75.48 kB / 1.417 GB, free: 138.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000657/3.008, allocations: 87.88 kB / 1.417 GB, free: 138.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004795/3.008, allocations: 0.5943 MB / 1.418 GB, free: 137.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/3.009, allocations: 80.73 kB / 1.418 GB, free: 137.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.894e-05/3.009, allocations: 26.16 kB / 1.418 GB, free: 137.7 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/3.009, allocations: 3.094 kB / 1.418 GB, free: 137.7 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002051/3.011, allocations: 0.5689 MB / 1.419 GB, free: 137.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/3.011, allocations: 0 / 1.419 GB, free: 137.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000242/3.012, allocations: 51.84 kB / 1.419 GB, free: 137.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006356/3.012, allocations: 85.86 kB / 1.419 GB, free: 137.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001623/3.014, allocations: 1.632 MB / 1.42 GB, free: 136.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000999/3.015, allocations: 85.94 kB / 1.42 GB, free: 136.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-05/3.015, allocations: 17.59 kB / 1.42 GB, free: 136.2 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004572/3.016, allocations: 294.2 kB / 1.421 GB, free: 136 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/3.016, allocations: 64.05 kB / 1.421 GB, free: 136 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002293/3.018, allocations: 0.69 MB / 1.421 GB, free: 135.9 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/3.018, allocations: 7.219 kB / 1.421 GB, free: 135.9 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/3.018, allocations: 0 / 1.421 GB, free: 135.9 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002036/3.02, allocations: 0.8247 MB / 1.422 GB, free: 135.5 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003446/3.024, allocations: 1.325 MB / 1.423 GB, free: 135.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/3.024, allocations: 3.062 kB / 1.423 GB, free: 135.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006244/3.024, allocations: 76.73 kB / 1.424 GB, free: 135.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001887/3.024, allocations: 52.83 kB / 1.424 GB, free: 135.1 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.746e-05/3.024, allocations: 10.44 kB / 1.424 GB, free: 135.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003641/3.025, allocations: 0.5741 MB / 1.424 GB, free: 134.6 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/3.025, allocations: 5.469 kB / 1.424 GB, free: 134.6 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003074/3.028, allocations: 1.008 MB / 1.425 GB, free: 134.3 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000413/3.028, allocations: 189.8 kB / 1.425 GB, free: 134.2 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/3.029, allocations: 11.19 kB / 1.425 GB, free: 134.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009754/3.03, allocations: 66.66 kB / 1.425 GB, free: 134.2 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.594e-05/3.03, allocations: 25.08 kB / 1.425 GB, free: 134.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.218e-05/3.03, allocations: 29.12 kB / 1.425 GB, free: 134.2 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0005477/3.03, allocations: 338.5 kB / 1.426 GB, free: 134.1 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.91e-07/3.03, allocations: 0 / 1.426 GB, free: 134.1 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001744/3.032, allocations: 372.5 kB / 1.426 GB, free: 134.1 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001068/3.033, allocations: 438 kB / 1.427 GB, free: 134 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.003188/3.036, allocations: 0.9819 MB / 1.428 GB, free: 133.7 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/3.036, allocations: 3.938 kB / 1.428 GB, free: 133.7 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0009746/3.037, allocations: 332.7 kB / 1.428 GB, free: 133.7 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002441/3.04, allocations: 242 kB / 1.428 GB, free: 133.7 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003223/3.043, allocations: 1.332 MB / 1.429 GB, free: 133.1 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/3.043, allocations: 0.8894 MB / 1.43 GB, free: 132.4 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0009182/3.044, allocations: 133.9 kB / 1.43 GB, free: 132.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/3.045, allocations: 48.84 kB / 1.43 GB, free: 132.4 MB / 0.573 GB Notification: Performance of SimCode: time 1.353e-06/3.045, allocations: 3.844 kB / 1.43 GB, free: 132.4 MB / 0.573 GB Notification: Performance of Templates: time 0.0305/3.075, allocations: 11.99 MB / 1.442 GB, free: 131.9 MB / 0.573 GB