Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002679/0.002684, allocations: 357.8 kB / 15.94 MB, free: 6.195 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.43/1.43, allocations: 165.8 MB / 182.5 MB, free: 5.414 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.777/3.777, allocations: 410.8 MB / 0.5995 GB, free: 15.16 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.001727/0.001726, allocations: 192.3 kB / 0.6662 GB, free: 6.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004619/0.0004621, allocations: 12 kB / 0.7423 GB, free: 8.949 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.3865, allocations: 67.44 MB / 0.8081 GB, free: 28.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6073/0.9939, allocations: 175.1 MB / 0.9791 GB, free: 0.832 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.01092/1.005, allocations: 6.531 MB / 0.9855 GB, free: 360 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001809/1.007, allocations: 39.25 kB / 0.9855 GB, free: 340 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002282/1.009, allocations: 0.5996 MB / 0.9861 GB, free: 172 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007072/1.016, allocations: 1.808 MB / 0.9879 GB, free: 15.52 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005521/1.022, allocations: 1.54 MB / 0.9894 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.005057/1.027, allocations: 3.168 MB / 0.9925 GB, free: 14.15 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001578/1.028, allocations: 0.6697 MB / 0.9931 GB, free: 13.86 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002123/1.031, allocations: 0.9494 MB / 0.9941 GB, free: 13.5 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001218/1.032, allocations: 0.7455 MB / 0.9948 GB, free: 13.21 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001535/1.032, allocations: 41.31 kB / 0.9948 GB, free: 13.21 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003054/1.035, allocations: 1.076 MB / 0.9959 GB, free: 12.89 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004146/1.035, allocations: 307.2 kB / 0.9962 GB, free: 12.75 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003528/1.036, allocations: 236.6 kB / 0.9964 GB, free: 12.69 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002315/1.038, allocations: 1.574 MB / 0.9979 GB, free: 11.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.609e-06/1.038, allocations: 4 kB / 0.998 GB, free: 11.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.919e-06/1.038, allocations: 0 / 0.998 GB, free: 11.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.44e-05/1.038, allocations: 0 / 0.998 GB, free: 11.9 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.004099/1.042, allocations: 1.406 MB / 0.9993 GB, free: 10.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/1.042, allocations: 8.969 kB / 0.9993 GB, free: 10.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003529/1.046, allocations: 0.6039 MB / 0.9999 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002792/1.049, allocations: 0.9623 MB / 1.001 GB, free: 10.15 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001308/1.05, allocations: 316.9 kB / 1.001 GB, free: 10.06 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002093/1.05, allocations: 67.75 kB / 1.001 GB, free: 10.06 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003229/1.054, allocations: 1.181 MB / 1.002 GB, free: 9.703 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/1.054, allocations: 4.641 kB / 1.002 GB, free: 9.703 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/1.054, allocations: 23.81 kB / 1.002 GB, free: 9.703 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.272e-05/1.054, allocations: 31.12 kB / 1.002 GB, free: 9.699 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004205/1.058, allocations: 1.327 MB / 1.004 GB, free: 9.441 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007484/1.066, allocations: 2.967 MB / 1.007 GB, free: 8.133 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002313/1.068, allocations: 0.7312 MB / 1.007 GB, free: 7.984 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001078/1.069, allocations: 454.4 kB / 1.008 GB, free: 7.906 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001197/1.07, allocations: 1.024 MB / 1.009 GB, free: 6.754 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00132/1.072, allocations: 0.5342 MB / 1.009 GB, free: 6.543 MB / 490.7 MB Notification: Performance of pre-optimization done (n=59): time 4.697e-06/1.072, allocations: 0 / 1.009 GB, free: 6.543 MB / 490.7 MB Notification: Performance of matching and sorting (n=59): time 0.0039/1.075, allocations: 1.287 MB / 1.011 GB, free: 6.23 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.915e-05/1.076, allocations: 118.8 kB / 1.011 GB, free: 6.098 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002447/1.078, allocations: 1.21 MB / 1.012 GB, free: 5.746 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001183/1.078, allocations: 40.02 kB / 1.012 GB, free: 5.715 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004441/1.079, allocations: 433.4 kB / 1.012 GB, free: 5.551 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002345/1.079, allocations: 194.4 kB / 1.012 GB, free: 5.418 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.47e-05/1.079, allocations: 9.75 kB / 1.013 GB, free: 5.418 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001823/1.079, allocations: 336.8 kB / 1.013 GB, free: 5.098 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00168/1.081, allocations: 0.4916 MB / 1.013 GB, free: 4.996 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001998/1.083, allocations: 0.6455 MB / 1.014 GB, free: 4.68 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001884/1.085, allocations: 0.545 MB / 1.014 GB, free: 4.27 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/1.085, allocations: 0 / 1.014 GB, free: 4.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.004454/1.089, allocations: 1.316 MB / 1.016 GB, free: 3.215 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.675e-05/1.089, allocations: 39.77 kB / 1.016 GB, free: 3.176 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.285e-06/1.089, allocations: 0 / 1.016 GB, free: 3.176 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.626e-05/1.089, allocations: 12.17 kB / 1.016 GB, free: 3.164 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/1.091, allocations: 219 kB / 1.016 GB, free: 2.953 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/1.091, allocations: 4 kB / 1.016 GB, free: 2.949 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002021/1.093, allocations: 308.6 kB / 1.016 GB, free: 2.656 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/1.093, allocations: 33.17 kB / 1.016 GB, free: 2.629 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (69): * Single equations (assignments): 68 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006863/1.094, allocations: 337.2 kB / 1.017 GB, free: 2.367 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002678/1.094, allocations: 114.6 kB / 1.017 GB, free: 2.254 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002987/1.097, allocations: 1.068 MB / 1.018 GB, free: 1.492 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/1.097, allocations: 4 kB / 1.018 GB, free: 1.488 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.059e-06/1.097, allocations: 4 kB / 1.018 GB, free: 1.484 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/1.097, allocations: 3.984 kB / 1.018 GB, free: 1.48 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006989/1.104, allocations: 3.236 MB / 1.021 GB, free: 15 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.756e-05/1.104, allocations: 12.12 kB / 1.021 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008114/1.105, allocations: 123.4 kB / 1.021 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.47e-05/1.105, allocations: 15.95 kB / 1.021 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.658e-05/1.105, allocations: 22.17 kB / 1.021 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.109e-05/1.105, allocations: 23.92 kB / 1.021 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.491e-05/1.105, allocations: 11.94 kB / 1.021 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00307/1.108, allocations: 1.311 MB / 1.022 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007572/1.109, allocations: 345.7 kB / 1.023 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002132/1.109, allocations: 22.45 kB / 1.023 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001438/1.111, allocations: 130.3 kB / 1.023 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/1.111, allocations: 64.12 kB / 1.023 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/1.111, allocations: 42.59 kB / 1.023 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002033/1.113, allocations: 0.8775 MB / 1.024 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.07e-07/1.113, allocations: 3.938 kB / 1.024 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001325/1.114, allocations: 292.4 kB / 1.024 GB, free: 12.22 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 0 () * 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 (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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 Backend phase and start with SimCode phase: time 0.0008244/1.115, allocations: 348.8 kB / 1.025 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003269/1.118, allocations: 1.081 MB / 1.026 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/1.118, allocations: 0 / 1.026 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001347/1.12, allocations: 0.5442 MB / 1.026 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003557/1.123, allocations: 0.5424 MB / 1.027 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005132/1.129, allocations: 2.315 MB / 1.029 GB, free: 8.059 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009835/1.13, allocations: 1.101 MB / 1.03 GB, free: 6.957 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001793/1.131, allocations: 287.3 kB / 1.03 GB, free: 6.676 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003721/1.132, allocations: 86.64 kB / 1.03 GB, free: 6.594 MB / 0.4948 GB Notification: Performance of SimCode: time 1.718e-06/1.132, allocations: 0 / 1.03 GB, free: 6.594 MB / 0.4948 GB Notification: Performance of Templates: time 0.04995/1.182, allocations: 20.81 MB / 1.051 GB, free: 2.023 MB / 0.5105 GB