Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.829/4.829, allocations: 0.5623 GB / 0.5776 GB, free: 3.371 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002444/0.002443, allocations: 358.2 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.013/4.013, allocations: 410.7 MB / 1.113 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001763/0.001763, allocations: 174.6 kB / 1.226 GB, free: 35.96 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 12 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2058, allocations: 115.3 MB / 1.461 GB, free: 6.613 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001317/0.2072, allocations: 0.9726 MB / 1.462 GB, free: 5.625 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004076/0.2113, allocations: 3.052 MB / 1.465 GB, free: 2.562 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.531e-05/0.2113, allocations: 4 kB / 1.465 GB, free: 2.559 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.321e-05/0.2114, allocations: 7.922 kB / 1.465 GB, free: 2.551 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.974e-05/0.2114, allocations: 0 / 1.465 GB, free: 2.551 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004269/0.2119, allocations: 79.56 kB / 1.465 GB, free: 2.473 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.287e-05/0.2119, allocations: 43.83 kB / 1.465 GB, free: 2.43 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.624e-05/0.212, allocations: 0 / 1.465 GB, free: 2.43 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.055e-05/0.212, allocations: 8 kB / 1.465 GB, free: 2.422 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.345e-05/0.2121, allocations: 27.84 kB / 1.465 GB, free: 2.395 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.2121, allocations: 8 kB / 1.465 GB, free: 2.387 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002173/0.2124, allocations: 47.84 kB / 1.465 GB, free: 2.34 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.706e-05/0.2124, allocations: 15.97 kB / 1.465 GB, free: 2.324 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.201e-05/0.2124, allocations: 33.64 kB / 1.466 GB, free: 2.285 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.2126, allocations: 32.17 kB / 1.466 GB, free: 2.254 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2126, allocations: 0 / 1.466 GB, free: 2.254 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2126, allocations: 0 / 1.466 GB, free: 2.254 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.2126, allocations: 0 / 1.466 GB, free: 2.254 MB / 0.6042 GB 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.0003225/0.2129, allocations: 339.3 kB / 1.466 GB, free: 1.875 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.213, allocations: 11.97 kB / 1.466 GB, free: 1.863 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.2131, allocations: 7.953 kB / 1.466 GB, free: 1.855 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.578e-05/0.2132, allocations: 167 kB / 1.466 GB, free: 1.652 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.2132, allocations: 7.984 kB / 1.466 GB, free: 1.645 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.2132, allocations: 4 kB / 1.466 GB, free: 1.641 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.2134, allocations: 53.67 kB / 1.466 GB, free: 1.582 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.629e-06/0.2134, allocations: 0 / 1.466 GB, free: 1.582 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.2134, allocations: 0 / 1.466 GB, free: 1.582 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2134, allocations: 0 / 1.466 GB, free: 1.582 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.198e-05/0.2135, allocations: 27.94 kB / 1.466 GB, free: 1.555 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001452/0.2137, allocations: 161.6 kB / 1.466 GB, free: 1.348 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.2138, allocations: 50.55 kB / 1.466 GB, free: 1.289 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.173e-05/0.2138, allocations: 16.86 kB / 1.466 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009058/0.2148, allocations: 0.5949 MB / 1.467 GB, free: 0.5664 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/0.2148, allocations: 42.5 kB / 1.467 GB, free: 0.5156 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 3.837e-06/0.2148, allocations: 0 / 1.467 GB, free: 0.5156 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0006854/0.2155, allocations: 310.1 kB / 1.467 GB, free: 164 kB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.2156, allocations: 51.41 kB / 1.467 GB, free: 100 kB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.2157, allocations: 98.02 kB / 1.467 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.2157, allocations: 25.7 kB / 1.467 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.689e-05/0.2158, allocations: 92.03 kB / 1.468 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.031e-05/0.2158, allocations: 31.47 kB / 1.468 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-06/0.2158, allocations: 4 kB / 1.468 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.216, allocations: 318.8 kB / 1.468 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.24e-05/0.216, allocations: 12 kB / 1.468 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.567e-05/0.2161, allocations: 57.08 kB / 1.468 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.924e-05/0.2162, allocations: 16 kB / 1.468 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.2162, allocations: 0 / 1.468 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002075/0.2164, allocations: 109.6 kB / 1.468 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.2165, allocations: 6.969 kB / 1.468 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2165, allocations: 0 / 1.468 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.2165, allocations: 12.06 kB / 1.468 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.2166, allocations: 19.98 kB / 1.468 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.2167, allocations: 4 kB / 1.468 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.329e-05/0.2167, allocations: 0 / 1.468 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.2167, allocations: 4 kB / 1.468 GB, free: 15.25 MB / 0.6198 GB 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.653e-05/0.2168, allocations: 121.3 kB / 1.468 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.806e-05/0.2169, allocations: 7.859 kB / 1.468 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.414e-05/0.2169, allocations: 15.95 kB / 1.468 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.217, allocations: 0 / 1.468 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.217, allocations: 4 kB / 1.468 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.028e-05/0.217, allocations: 77.11 kB / 1.468 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.2171, allocations: 8 kB / 1.468 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.2172, allocations: 3.984 kB / 1.468 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.029e-05/0.2173, allocations: 4 kB / 1.468 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002384/0.2175, allocations: 141 kB / 1.468 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002856/0.2178, allocations: 266.5 kB / 1.469 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.236e-05/0.2179, allocations: 16.03 kB / 1.469 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.907e-05/0.2179, allocations: 83.28 kB / 1.469 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of Backend: time 5.41e-07/0.2179, allocations: 0 / 1.469 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005331/0.2185, allocations: 134.3 kB / 1.469 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0009505/0.2194, allocations: 0.8366 MB / 1.47 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of Templates: time 0.004397/0.2239, allocations: 0.9289 MB / 1.471 GB, free: 12.53 MB / 0.6198 GB