Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck") translateModel(BuildingSystems.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00495/0.00495, allocations: 100.3 kB / 15.73 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 195.1 kB / 16.67 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002081/0.002081, allocations: 286.3 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9157/0.9157, allocations: 169.2 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 95.86 kB / 0.6814 GB, free: 7.012 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4078/0.4094, allocations: 86.98 MB / 0.7664 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterDerivativeCheck): time 0.001951/0.4114, allocations: 1.257 MB / 0.7676 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003206/0.4146, allocations: 3.258 MB / 0.7708 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.027e-05/0.4147, allocations: 0 / 0.7708 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.567e-05/0.4147, allocations: 0 / 0.7708 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.851e-05/0.4147, allocations: 3.938 kB / 0.7708 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004291/0.4152, allocations: 107.5 kB / 0.7709 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.145e-05/0.4153, allocations: 43.8 kB / 0.7709 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.081e-05/0.4153, allocations: 7.922 kB / 0.7709 GB, free: 15.24 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.955e-05/0.4153, allocations: 16 kB / 0.7709 GB, free: 15.22 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.362e-05/0.4154, allocations: 15.91 kB / 0.7709 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.4154, allocations: 4 kB / 0.7709 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002064/0.4156, allocations: 79.75 kB / 0.771 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.531e-05/0.4157, allocations: 15.98 kB / 0.771 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.044e-05/0.4157, allocations: 15.92 kB / 0.7711 GB, free: 15.09 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.4159, allocations: 71.52 kB / 0.7711 GB, free: 15.03 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.4159, allocations: 0 / 0.7711 GB, free: 15.03 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.293e-06/0.4159, allocations: 0 / 0.7711 GB, free: 15.03 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.4159, allocations: 3.984 kB / 0.7711 GB, free: 15.02 MB / 0.545 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.0003399/0.4162, allocations: 342 kB / 0.7715 GB, free: 14.64 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.4163, allocations: 8.031 kB / 0.7715 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.553e-05/0.4164, allocations: 8.938 kB / 0.7715 GB, free: 14.63 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.364e-05/0.4165, allocations: 168.4 kB / 0.7716 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.4165, allocations: 4.375 kB / 0.7716 GB, free: 14.42 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.4165, allocations: 4.375 kB / 0.7716 GB, free: 14.42 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.4166, allocations: 61.73 kB / 0.7717 GB, free: 14.35 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.4167, allocations: 0 / 0.7717 GB, free: 14.35 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.4167, allocations: 4 kB / 0.7717 GB, free: 14.35 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.4167, allocations: 0 / 0.7717 GB, free: 14.35 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.723e-05/0.4167, allocations: 19.98 kB / 0.7717 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001509/0.4169, allocations: 177.5 kB / 0.7719 GB, free: 14.11 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.219e-05/0.417, allocations: 50.5 kB / 0.7719 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.806e-05/0.417, allocations: 16.86 kB / 0.772 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006446/0.4177, allocations: 0.5985 MB / 0.7725 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.4177, allocations: 30.56 kB / 0.7726 GB, free: 13.28 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.4177, allocations: 0 / 0.7726 GB, free: 13.28 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0005164/0.4182, allocations: 302.6 kB / 0.7729 GB, free: 12.93 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.4183, allocations: 51.41 kB / 0.7729 GB, free: 12.87 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.713e-05/0.4183, allocations: 101.8 kB / 0.773 GB, free: 12.76 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.4184, allocations: 25.7 kB / 0.773 GB, free: 12.73 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.612e-05/0.4184, allocations: 91.98 kB / 0.7731 GB, free: 12.64 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.4184, allocations: 23.62 kB / 0.7731 GB, free: 12.61 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.4185, allocations: 29.7 kB / 0.7732 GB, free: 12.58 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.459e-05/0.4186, allocations: 318.8 kB / 0.7735 GB, free: 12.26 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.557e-05/0.4186, allocations: 15.98 kB / 0.7735 GB, free: 12.24 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.201e-05/0.4187, allocations: 53.08 kB / 0.7735 GB, free: 12.17 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.103e-05/0.4188, allocations: 81.27 kB / 0.7736 GB, free: 12.07 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.4188, allocations: 0 / 0.7736 GB, free: 12.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001258/0.4189, allocations: 97.45 kB / 0.7737 GB, free: 11.97 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.4189, allocations: 11.94 kB / 0.7737 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.4189, allocations: 0 / 0.7737 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.419, allocations: 8.125 kB / 0.7737 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.097e-05/0.419, allocations: 19.98 kB / 0.7737 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.419, allocations: 3.938 kB / 0.7737 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.713e-05/0.4191, allocations: 11.88 kB / 0.7738 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.4191, allocations: 8 kB / 0.7738 GB, free: 11.91 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.924e-05/0.4192, allocations: 120.2 kB / 0.7739 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.4192, allocations: 0 / 0.7739 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.889e-05/0.4192, allocations: 11.95 kB / 0.7739 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.4192, allocations: 4 kB / 0.7739 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.4193, allocations: 4 kB / 0.7739 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4193, allocations: 3.938 kB / 0.7739 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.4195, allocations: 170.1 kB / 0.7741 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4195, allocations: 0 / 0.7741 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.64e-05/0.4196, allocations: 19.94 kB / 0.7741 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.4196, allocations: 0 / 0.7741 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.4196, allocations: 4 kB / 0.7741 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4196, allocations: 0 / 0.7741 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.4196, allocations: 0 / 0.7741 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.4198, allocations: 187.4 kB / 0.7743 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.162e-05/0.4198, allocations: 85.14 kB / 0.7743 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.4199, allocations: 0 / 0.7743 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.42, allocations: 4 kB / 0.7744 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.566e-05/0.42, allocations: 3.984 kB / 0.7744 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.42, allocations: 11.94 kB / 0.7744 GB, free: 11.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.935e-05/0.42, allocations: 75.28 kB / 0.7744 GB, free: 11.12 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4201, allocations: 0 / 0.7744 GB, free: 11.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002298/0.4203, allocations: 12 kB / 0.7745 GB, free: 11.11 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001087/0.4204, allocations: 107.2 kB / 0.7746 GB, free: 11 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001036/0.4205, allocations: 43.92 kB / 0.7746 GB, free: 10.95 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.4205, allocations: 0 / 0.7746 GB, free: 10.95 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.256e-05/0.4205, allocations: 15.98 kB / 0.7746 GB, free: 10.94 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.4208, allocations: 8 kB / 0.7746 GB, free: 10.93 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005245/0.4213, allocations: 330.7 kB / 0.7749 GB, free: 10.58 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.4216, allocations: 0.6807 MB / 0.7756 GB, free: 9.871 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.224e-05/0.4216, allocations: 11.98 kB / 0.7756 GB, free: 9.859 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.033e-05/0.4216, allocations: 11.44 kB / 0.7756 GB, free: 9.852 MB / 0.545 GB Notification: Performance of SimCode: time 1.502e-06/0.4217, allocations: 3.938 kB / 0.7756 GB, free: 9.848 MB / 0.545 GB Notification: Performance of Templates: time 0.002499/0.4242, allocations: 0.6325 MB / 0.7762 GB, free: 9.219 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe 2>&1)