Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.398/2.398, allocations: 251.1 MB / 266.7 MB, free: 11.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001355/0.001355, allocations: 184.8 kB / 326.3 MB, free: 2.828 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.407/2.407, allocations: 205.4 MB / 0.5772 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008576/0.0008575, allocations: 94.23 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007518/0.000752, allocations: 12.34 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2297, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001393/0.2311, allocations: 0.97 MB / 0.9004 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004016/0.2352, allocations: 3.058 MB / 0.9034 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.82e-05/0.2353, allocations: 0 / 0.9034 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.952e-05/0.2353, allocations: 3.938 kB / 0.9034 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.628e-05/0.2354, allocations: 7.984 kB / 0.9034 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004983/0.2359, allocations: 83.61 kB / 0.9035 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.349e-05/0.236, allocations: 35.86 kB / 0.9036 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.562e-05/0.236, allocations: 8 kB / 0.9036 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.414e-05/0.2361, allocations: 15.92 kB / 0.9036 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.369e-05/0.2361, allocations: 19.97 kB / 0.9036 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.2362, allocations: 0 / 0.9036 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002292/0.2364, allocations: 59.83 kB / 0.9037 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.307e-05/0.2364, allocations: 0 / 0.9037 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.306e-05/0.2365, allocations: 33.7 kB / 0.9037 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.2366, allocations: 39.89 kB / 0.9037 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2366, allocations: 0 / 0.9037 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2366, allocations: 0 / 0.9037 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.2367, allocations: 0 / 0.9037 GB, free: 61.16 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.0003421/0.237, allocations: 339.7 kB / 0.904 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.2371, allocations: 8.031 kB / 0.9041 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.2372, allocations: 12.92 kB / 0.9041 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.108e-05/0.2373, allocations: 160.4 kB / 0.9042 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.2373, allocations: 8.375 kB / 0.9042 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.2373, allocations: 4.375 kB / 0.9042 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.2375, allocations: 65.72 kB / 0.9043 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.629e-06/0.2375, allocations: 3.938 kB / 0.9043 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.2375, allocations: 0 / 0.9043 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.2376, allocations: 0 / 0.9043 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.127e-05/0.2376, allocations: 23.91 kB / 0.9043 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001818/0.2378, allocations: 173.6 kB / 0.9045 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.238, allocations: 46.56 kB / 0.9045 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.117e-05/0.238, allocations: 20.84 kB / 0.9046 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008293/0.2389, allocations: 0.5907 MB / 0.9051 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.2389, allocations: 34.56 kB / 0.9052 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 3.016e-06/0.2389, allocations: 3.938 kB / 0.9052 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0007115/0.2397, allocations: 298.9 kB / 0.9054 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.114e-05/0.2397, allocations: 51.41 kB / 0.9055 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.985e-05/0.2398, allocations: 101.8 kB / 0.9056 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.2398, allocations: 29.7 kB / 0.9056 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.147e-05/0.2398, allocations: 91.94 kB / 0.9057 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.2399, allocations: 27.7 kB / 0.9057 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.513e-06/0.2399, allocations: 4 kB / 0.9057 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.756e-05/0.24, allocations: 314.8 kB / 0.906 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.872e-05/0.24, allocations: 15.98 kB / 0.9061 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.403e-05/0.2401, allocations: 49.22 kB / 0.9061 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.24e-05/0.2402, allocations: 27.92 kB / 0.9061 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2402, allocations: 0 / 0.9061 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001907/0.2404, allocations: 101.5 kB / 0.9062 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.2404, allocations: 4 kB / 0.9062 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.2404, allocations: 7.938 kB / 0.9062 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.2404, allocations: 0 / 0.9062 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.2406, allocations: 20 kB / 0.9063 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.2406, allocations: 8.109 kB / 0.9063 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.932e-05/0.2407, allocations: 4 kB / 0.9063 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.2407, allocations: 7.938 kB / 0.9063 GB, free: 58.16 MB / 0.6042 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 7.859e-05/0.2408, allocations: 118.8 kB / 0.9064 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.751e-05/0.2408, allocations: 4 kB / 0.9064 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.719e-05/0.2409, allocations: 7.969 kB / 0.9064 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.2409, allocations: 0 / 0.9064 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2409, allocations: 0 / 0.9064 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.225e-05/0.241, allocations: 85.38 kB / 0.9065 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.241, allocations: 11.94 kB / 0.9065 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.2412, allocations: 4 kB / 0.9065 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.124e-05/0.2412, allocations: 7.969 kB / 0.9065 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002299/0.2415, allocations: 148.8 kB / 0.9066 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002249/0.2417, allocations: 254.7 kB / 0.9069 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.627e-05/0.2418, allocations: 20.03 kB / 0.9069 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.57e-05/0.2418, allocations: 79.28 kB / 0.907 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of Backend: time 8.62e-07/0.2418, allocations: 0 / 0.907 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005498/0.2424, allocations: 146.4 kB / 0.9071 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0007263/0.2431, allocations: 0.8242 MB / 0.9079 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of Templates: time 0.004204/0.2473, allocations: 0.933 MB / 0.9088 GB, free: 55.42 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_7.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_7.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_7.0.0_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_7.0.0_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)