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.003885/0.003885, allocations: 353.8 kB / 15.94 MB, free: 6.211 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.393/1.393, allocations: 165.8 MB / 182.5 MB, free: 5.441 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.641/3.641, allocations: 410.8 MB / 0.5995 GB, free: 15.09 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.001805/0.001805, allocations: 197.5 kB / 0.6662 GB, free: 6.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004518/0.000452, allocations: 12 kB / 0.7423 GB, free: 8.965 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3305, allocations: 67.44 MB / 0.8082 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ConservationEquation): time 0.01827/0.3488, allocations: 19.07 MB / 0.8268 GB, free: 9.664 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006883/0.3557, allocations: 4.912 MB / 0.8316 GB, free: 4.742 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005657/0.3563, allocations: 15.88 kB / 0.8316 GB, free: 4.727 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007881/0.3571, allocations: 274.3 kB / 0.8319 GB, free: 4.457 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002162/0.3593, allocations: 0.8329 MB / 0.8327 GB, free: 3.621 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002868/0.3622, allocations: 0.9085 MB / 0.8336 GB, free: 2.727 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001976/0.3642, allocations: 1.934 MB / 0.8354 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006015/0.3648, allocations: 401.2 kB / 0.8358 GB, free: 388 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001021/0.3659, allocations: 0.5602 MB / 0.8364 GB, free: 15.81 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007406/0.3666, allocations: 458 kB / 0.8368 GB, free: 15.36 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 8.93e-05/0.3667, allocations: 27.83 kB / 0.8368 GB, free: 15.34 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001963/0.3687, allocations: 0.7912 MB / 0.8376 GB, free: 14.55 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000183/0.3689, allocations: 119.5 kB / 0.8377 GB, free: 14.43 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002103/0.3691, allocations: 141.4 kB / 0.8379 GB, free: 14.29 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001358/0.3705, allocations: 0.7795 MB / 0.8386 GB, free: 13.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.976e-06/0.3705, allocations: 0 / 0.8386 GB, free: 13.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3705, allocations: 0 / 0.8386 GB, free: 13.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.501e-05/0.3706, allocations: 0 / 0.8386 GB, free: 13.5 MB / 394.7 MB 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.001806/0.3724, allocations: 0.9168 MB / 0.8395 GB, free: 12.53 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.3724, allocations: 12.03 kB / 0.8395 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/0.3735, allocations: 187.1 kB / 0.8397 GB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/0.3749, allocations: 0.5416 MB / 0.8402 GB, free: 11.75 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003828/0.3753, allocations: 92.94 kB / 0.8403 GB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.3754, allocations: 39.91 kB / 0.8404 GB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.3767, allocations: 0.5038 MB / 0.8408 GB, free: 11.1 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.3768, allocations: 0 / 0.8408 GB, free: 11.1 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-05/0.3768, allocations: 15.95 kB / 0.8409 GB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.233e-05/0.3769, allocations: 16 kB / 0.8409 GB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001363/0.3783, allocations: 426.6 kB / 0.8413 GB, free: 10.66 MB / 394.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.004122/0.3824, allocations: 2.293 MB / 0.8435 GB, free: 8.145 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002028/0.3845, allocations: 391 kB / 0.8439 GB, free: 7.754 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/0.3857, allocations: 244.9 kB / 0.8441 GB, free: 7.512 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006113/0.3864, allocations: 340.7 kB / 0.8445 GB, free: 7.105 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001448/0.3878, allocations: 316.1 kB / 0.8448 GB, free: 6.781 MB / 394.7 MB Notification: Performance of pre-optimization done (n=33): time 5.346e-06/0.3879, allocations: 0 / 0.8448 GB, free: 6.781 MB / 394.7 MB Notification: Performance of matching and sorting (n=33): time 0.004756/0.3926, allocations: 0.8772 MB / 0.8456 GB, free: 5.871 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.921e-05/0.3928, allocations: 85.09 kB / 0.8457 GB, free: 5.77 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.3941, allocations: 498.8 kB / 0.8462 GB, free: 5.273 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.55e-05/0.3942, allocations: 33.7 kB / 0.8462 GB, free: 5.234 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004636/0.3947, allocations: 276.4 kB / 0.8465 GB, free: 4.961 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002228/0.3949, allocations: 110.4 kB / 0.8466 GB, free: 4.852 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.93e-05/0.395, allocations: 8 kB / 0.8466 GB, free: 4.844 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002899/0.3953, allocations: 362.7 kB / 0.8469 GB, free: 4.48 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/0.3964, allocations: 183.8 kB / 0.8471 GB, free: 4.301 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001232/0.3977, allocations: 277.1 kB / 0.8474 GB, free: 3.996 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.3989, allocations: 221.6 kB / 0.8476 GB, free: 3.773 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/0.3989, allocations: 3.984 kB / 0.8476 GB, free: 3.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.003504/0.4025, allocations: 0.6201 MB / 0.8482 GB, free: 3.133 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002153/0.4027, allocations: 179.8 kB / 0.8484 GB, free: 2.926 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/0.4028, allocations: 4 kB / 0.8484 GB, free: 2.922 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006851/0.4035, allocations: 72.81 kB / 0.8484 GB, free: 2.848 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009024/0.4044, allocations: 83.88 kB / 0.8485 GB, free: 2.766 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009759/0.4054, allocations: 0.5992 MB / 0.8491 GB, free: 2.141 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.4067, allocations: 79.64 kB / 0.8492 GB, free: 2.062 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.4068, allocations: 19.98 kB / 0.8492 GB, free: 2.043 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.4068, allocations: 6.5 kB / 0.8492 GB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003072/0.4099, allocations: 0.5565 MB / 0.8497 GB, free: 1.473 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.41, allocations: 7.984 kB / 0.8497 GB, free: 1.465 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003484/0.4103, allocations: 40.84 kB / 0.8498 GB, free: 1.422 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000907/0.4113, allocations: 84.03 kB / 0.8499 GB, free: 1.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003322/0.4146, allocations: 1.627 MB / 0.8515 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/0.4158, allocations: 79.72 kB / 0.8515 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-05/0.4159, allocations: 16 kB / 0.8515 GB, free: 15.48 MB / 410.7 MB 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.000688/0.4167, allocations: 298.7 kB / 0.8518 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002088/0.4169, allocations: 55.34 kB / 0.8519 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003429/0.4203, allocations: 0.6726 MB / 0.8525 GB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-05/0.4204, allocations: 4 kB / 0.8525 GB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.841e-06/0.4204, allocations: 0 / 0.8525 GB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003181/0.4236, allocations: 0.8249 MB / 0.8534 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005359/0.429, allocations: 1.307 MB / 0.8546 GB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.082e-06/0.429, allocations: 0 / 0.8546 GB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008426/0.4299, allocations: 76.03 kB / 0.8547 GB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003317/0.4303, allocations: 52.77 kB / 0.8548 GB, free: 12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-05/0.4304, allocations: 15.92 kB / 0.8548 GB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008068/0.4312, allocations: 0.5718 MB / 0.8553 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.185e-06/0.4312, allocations: 4.031 kB / 0.8553 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004677/0.4359, allocations: 0.9885 MB / 0.8563 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005876/0.4365, allocations: 188.2 kB / 0.8565 GB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/0.4367, allocations: 12 kB / 0.8565 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/0.4381, allocations: 68 kB / 0.8566 GB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.4382, allocations: 23.91 kB / 0.8566 GB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/0.4384, allocations: 27.94 kB / 0.8566 GB, free: 10.03 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000953/0.4393, allocations: 342.8 kB / 0.8569 GB, free: 9.699 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.259e-06/0.4394, allocations: 0 / 0.8569 GB, free: 9.699 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002438/0.4418, allocations: 339.5 kB / 0.8573 GB, free: 9.367 MB / 410.7 MB 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.00117/0.443, allocations: 299.8 kB / 0.8575 GB, free: 9.074 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004829/0.4479, allocations: 0.9975 MB / 0.8585 GB, free: 8.039 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.194e-05/0.4479, allocations: 4 kB / 0.8585 GB, free: 8.035 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001566/0.4495, allocations: 335.4 kB / 0.8588 GB, free: 7.695 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003337/0.4529, allocations: 238.8 kB / 0.8591 GB, free: 7.465 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005098/0.458, allocations: 1.353 MB / 0.8604 GB, free: 6.074 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009498/0.459, allocations: 0.8822 MB / 0.8612 GB, free: 5.164 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001358/0.4604, allocations: 132.3 kB / 0.8614 GB, free: 5.031 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002773/0.4607, allocations: 51.41 kB / 0.8614 GB, free: 4.98 MB / 410.7 MB Notification: Performance of SimCode: time 2.416e-06/0.4607, allocations: 4 kB / 0.8614 GB, free: 4.977 MB / 410.7 MB Notification: Performance of Templates: time 0.03907/0.4998, allocations: 10.66 MB / 0.8718 GB, free: 10.43 MB / 426.7 MB