Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Media.Examples.WaterDerivativeCheck.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.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003954/0.003954, allocations: 357.5 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.449/1.449, allocations: 165.8 MB / 183.1 MB, free: 5.445 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.881/3.881, allocations: 410.7 MB / 0.6001 GB, free: 15.24 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.002448/0.002448, allocations: 199.9 kB / 0.6668 GB, free: 6.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004485/0.0004487, allocations: 11.94 kB / 0.7429 GB, free: 8.988 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4108, allocations: 67.42 MB / 0.8087 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterDerivativeCheck): time 0.001895/0.4128, allocations: 0.9726 MB / 0.8097 GB, free: 27.82 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005956/0.4187, allocations: 3.049 MB / 0.8127 GB, free: 24.75 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.27e-05/0.4188, allocations: 0 / 0.8127 GB, free: 24.75 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.034e-05/0.4189, allocations: 0 / 0.8127 GB, free: 24.75 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 7.13e-05/0.419, allocations: 7.938 kB / 0.8127 GB, free: 24.75 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000622/0.4196, allocations: 87.55 kB / 0.8127 GB, free: 24.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 7.755e-05/0.4197, allocations: 23.92 kB / 0.8128 GB, free: 24.64 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.55e-05/0.4198, allocations: 4 kB / 0.8128 GB, free: 24.63 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.908e-05/0.4199, allocations: 27.91 kB / 0.8128 GB, free: 24.61 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.828e-05/0.42, allocations: 15.92 kB / 0.8128 GB, free: 24.59 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.42, allocations: 0 / 0.8128 GB, free: 24.59 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003167/0.4203, allocations: 55.77 kB / 0.8129 GB, free: 24.54 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.015e-05/0.4204, allocations: 8 kB / 0.8129 GB, free: 24.53 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.957e-05/0.4204, allocations: 29.7 kB / 0.8129 GB, free: 24.49 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.4206, allocations: 46.05 kB / 0.8129 GB, free: 24.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4206, allocations: 0 / 0.8129 GB, free: 24.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4206, allocations: 0 / 0.8129 GB, free: 24.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.4207, allocations: 0 / 0.8129 GB, free: 24.45 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004164/0.4211, allocations: 339.2 kB / 0.8133 GB, free: 24.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.4212, allocations: 12.02 kB / 0.8133 GB, free: 24.06 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.4213, allocations: 4 kB / 0.8133 GB, free: 24.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.4215, allocations: 163.1 kB / 0.8134 GB, free: 23.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.4215, allocations: 7.938 kB / 0.8134 GB, free: 23.85 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.56e-05/0.4216, allocations: 3.953 kB / 0.8134 GB, free: 23.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.4218, allocations: 53.67 kB / 0.8135 GB, free: 23.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.4218, allocations: 0 / 0.8135 GB, free: 23.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.4219, allocations: 8 kB / 0.8135 GB, free: 23.78 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.4219, allocations: 0 / 0.8135 GB, free: 23.78 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.971e-05/0.422, allocations: 19.98 kB / 0.8135 GB, free: 23.76 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002743/0.4223, allocations: 165.6 kB / 0.8137 GB, free: 23.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.4225, allocations: 50.5 kB / 0.8137 GB, free: 23.49 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.911e-05/0.4226, allocations: 24.83 kB / 0.8138 GB, free: 23.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001121/0.4238, allocations: 0.6065 MB / 0.8143 GB, free: 22.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.4238, allocations: 30.56 kB / 0.8144 GB, free: 22.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.475e-06/0.4238, allocations: 3.938 kB / 0.8144 GB, free: 22.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008303/0.4247, allocations: 290.3 kB / 0.8147 GB, free: 22.37 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.246e-05/0.4247, allocations: 51.41 kB / 0.8147 GB, free: 22.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.315e-05/0.4248, allocations: 105.8 kB / 0.8148 GB, free: 22.19 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.4248, allocations: 29.7 kB / 0.8148 GB, free: 22.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.888e-05/0.4249, allocations: 91.98 kB / 0.8149 GB, free: 22.06 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.305e-05/0.425, allocations: 27.61 kB / 0.815 GB, free: 22.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.746e-06/0.425, allocations: 0 / 0.815 GB, free: 22.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.721e-05/0.4251, allocations: 322.7 kB / 0.8153 GB, free: 21.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.466e-05/0.4251, allocations: 11.98 kB / 0.8153 GB, free: 21.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.967e-05/0.4253, allocations: 57.14 kB / 0.8153 GB, free: 21.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.552e-05/0.4254, allocations: 16 kB / 0.8153 GB, free: 21.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.4254, allocations: 0 / 0.8153 GB, free: 21.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002674/0.4257, allocations: 93.55 kB / 0.8154 GB, free: 21.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.4257, allocations: 8.125 kB / 0.8154 GB, free: 21.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.4257, allocations: 4 kB / 0.8154 GB, free: 21.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.4258, allocations: 0 / 0.8154 GB, free: 21.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.426, allocations: 28.36 kB / 0.8155 GB, free: 21.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.426, allocations: 0 / 0.8155 GB, free: 21.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.057e-05/0.4261, allocations: 4 kB / 0.8155 GB, free: 21.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.4262, allocations: 8 kB / 0.8155 GB, free: 21.46 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 9.852e-05/0.4263, allocations: 121.7 kB / 0.8156 GB, free: 21.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.276e-05/0.4263, allocations: 8.188 kB / 0.8156 GB, free: 21.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.319e-05/0.4264, allocations: 15.91 kB / 0.8156 GB, free: 21.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.4264, allocations: 3.984 kB / 0.8156 GB, free: 21.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.4264, allocations: 0 / 0.8156 GB, free: 21.31 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.824e-05/0.4265, allocations: 85.09 kB / 0.8157 GB, free: 21.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.4266, allocations: 3.938 kB / 0.8157 GB, free: 21.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/0.4268, allocations: 7.953 kB / 0.8157 GB, free: 21.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.455e-05/0.4269, allocations: 3.984 kB / 0.8157 GB, free: 21.19 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002965/0.4272, allocations: 145 kB / 0.8159 GB, free: 21.04 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003175/0.4275, allocations: 266.7 kB / 0.8161 GB, free: 20.77 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.313e-05/0.4276, allocations: 12 kB / 0.8161 GB, free: 20.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.762e-05/0.4277, allocations: 79.27 kB / 0.8162 GB, free: 20.68 MB / 378.7 MB Notification: Performance of Backend: time 1.092e-06/0.4277, allocations: 0 / 0.8162 GB, free: 20.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007596/0.4285, allocations: 141.1 kB / 0.8163 GB, free: 20.54 MB / 378.7 MB Notification: Performance of SimCode: time 0.001005/0.4295, allocations: 0.8243 MB / 0.8171 GB, free: 19.66 MB / 378.7 MB Notification: Performance of Templates: time 0.006/0.4355, allocations: 0.9458 MB / 0.8181 GB, free: 18.72 MB / 378.7 MB