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.003432/0.003437, allocations: 359 kB / 16.59 MB, free: 5.562 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.603/1.603, allocations: 165.8 MB / 183.1 MB, free: 5.406 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.792/3.792, allocations: 410.7 MB / 0.6001 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.001744/0.001744, allocations: 205.6 kB / 0.6668 GB, free: 6.906 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004718/0.0004721, allocations: 12 kB / 0.7429 GB, free: 8.945 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4009/0.4014, allocations: 67.43 MB / 0.8087 GB, free: 28.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6732/1.075, allocations: 175.1 MB / 0.9797 GB, free: 0.8086 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.01302/1.088, allocations: 6.522 MB / 0.9861 GB, free: 344 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001837/1.09, allocations: 39.47 kB / 0.9861 GB, free: 324 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002743/1.092, allocations: 0.6 MB / 0.9867 GB, free: 156 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007451/1.1, allocations: 1.771 MB / 0.9885 GB, free: 15.38 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006391/1.106, allocations: 1.538 MB / 0.99 GB, free: 15.03 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.005533/1.112, allocations: 3.167 MB / 0.993 GB, free: 14.02 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001718/1.114, allocations: 0.6703 MB / 0.9937 GB, free: 13.73 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002827/1.116, allocations: 0.9604 MB / 0.9946 GB, free: 13.36 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001799/1.118, allocations: 0.7452 MB / 0.9954 GB, free: 13.07 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002178/1.119, allocations: 43.56 kB / 0.9954 GB, free: 13.07 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003914/1.122, allocations: 1.073 MB / 0.9965 GB, free: 12.75 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005859/1.123, allocations: 305.8 kB / 0.9967 GB, free: 12.62 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000511/1.124, allocations: 234 kB / 0.997 GB, free: 12.55 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003332/1.127, allocations: 1.571 MB / 0.9985 GB, free: 11.77 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/1.127, allocations: 2.875 kB / 0.9985 GB, free: 11.77 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.384e-06/1.127, allocations: 0 / 0.9985 GB, free: 11.77 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.856e-05/1.127, allocations: 6.469 kB / 0.9985 GB, free: 11.77 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.005979/1.133, allocations: 1.402 MB / 0.9999 GB, free: 10.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/1.133, allocations: 14.86 kB / 0.9999 GB, free: 10.76 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005337/1.138, allocations: 0.5975 MB / 1 GB, free: 10.54 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003685/1.142, allocations: 0.9771 MB / 1.001 GB, free: 10.01 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002313/1.145, allocations: 315.4 kB / 1.002 GB, free: 9.922 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002834/1.145, allocations: 67.2 kB / 1.002 GB, free: 9.922 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004409/1.149, allocations: 1.178 MB / 1.003 GB, free: 9.566 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/1.149, allocations: 3.938 kB / 1.003 GB, free: 9.562 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/1.149, allocations: 31.61 kB / 1.003 GB, free: 9.562 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.929e-05/1.15, allocations: 29.92 kB / 1.003 GB, free: 9.555 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006165/1.156, allocations: 1.324 MB / 1.004 GB, free: 9.301 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009632/1.165, allocations: 2.965 MB / 1.007 GB, free: 7.996 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003161/1.169, allocations: 0.729 MB / 1.008 GB, free: 7.848 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001454/1.17, allocations: 455 kB / 1.008 GB, free: 7.77 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001273/1.171, allocations: 1.022 MB / 1.009 GB, free: 6.617 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001715/1.173, allocations: 0.5331 MB / 1.01 GB, free: 6.41 MB / 490.7 MB Notification: Performance of pre-optimization done (n=59): time 3.326e-06/1.173, allocations: 0 / 1.01 GB, free: 6.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=59): time 0.005082/1.178, allocations: 1.29 MB / 1.011 GB, free: 6.094 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.705e-05/1.178, allocations: 113.7 kB / 1.011 GB, free: 5.965 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003118/1.182, allocations: 1.207 MB / 1.012 GB, free: 5.617 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002034/1.182, allocations: 43.34 kB / 1.012 GB, free: 5.582 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004488/1.182, allocations: 433.8 kB / 1.013 GB, free: 5.422 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002816/1.183, allocations: 187 kB / 1.013 GB, free: 5.289 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.151e-05/1.183, allocations: 11.91 kB / 1.013 GB, free: 5.289 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001529/1.183, allocations: 339.1 kB / 1.013 GB, free: 4.969 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002485/1.185, allocations: 0.4901 MB / 1.014 GB, free: 4.867 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002751/1.188, allocations: 0.6402 MB / 1.014 GB, free: 4.562 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002633/1.191, allocations: 0.5525 MB / 1.015 GB, free: 4.148 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/1.191, allocations: 0 / 1.015 GB, free: 4.148 MB / 490.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.006111/1.197, allocations: 1.315 MB / 1.016 GB, free: 3.094 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.297e-05/1.197, allocations: 37.69 kB / 1.016 GB, free: 3.051 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/1.197, allocations: 7.984 kB / 1.016 GB, free: 3.043 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/1.197, allocations: 4 kB / 1.016 GB, free: 3.039 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001959/1.199, allocations: 221.8 kB / 1.017 GB, free: 2.828 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.097e-05/1.199, allocations: 8 kB / 1.017 GB, free: 2.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003168/1.202, allocations: 307.6 kB / 1.017 GB, free: 2.527 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002088/1.202, allocations: 38.47 kB / 1.017 GB, free: 2.496 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.0007758/1.203, allocations: 336.4 kB / 1.017 GB, free: 2.238 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003393/1.204, allocations: 120.5 kB / 1.017 GB, free: 2.121 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003775/1.207, allocations: 1.067 MB / 1.018 GB, free: 1.359 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.816e-05/1.207, allocations: 7.984 kB / 1.018 GB, free: 1.352 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/1.207, allocations: 4 kB / 1.018 GB, free: 1.348 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008543/1.208, allocations: 324.4 kB / 1.019 GB, free: 1.082 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002669/1.209, allocations: 14.38 kB / 1.019 GB, free: 1.074 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002064/1.211, allocations: 124.1 kB / 1.019 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/1.211, allocations: 36.03 kB / 1.019 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00402/1.215, allocations: 1.177 MB / 1.02 GB, free: 8 kB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003726/1.219, allocations: 1.256 MB / 1.021 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001473/1.22, allocations: 433 kB / 1.022 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002711/1.223, allocations: 0.8783 MB / 1.023 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of Backend: time 7.91e-07/1.223, allocations: 4 kB / 1.023 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005645/1.229, allocations: 1.18 MB / 1.024 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of SimCode: time 0.007011/1.236, allocations: 2.574 MB / 1.026 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of Templates: time 0.06658/1.302, allocations: 24.57 MB / 1.05 GB, free: 2.309 MB / 0.5105 GB