Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 106.5 kB / 15.99 MB, free: 5.891 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.001326/0.001326, allocations: 185.7 kB / 16.91 MB, free: 5.746 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.398/1.398, allocations: 222.9 MB / 240.6 MB, free: 13.67 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.8968/0.8968, allocations: 143.3 MB / 434 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 71.91 kB / 0.5146 GB, free: 15.37 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3282, allocations: 82.03 MB / 0.5947 GB, free: 16.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck): time 0.00186/0.3301, allocations: 1.325 MB / 0.596 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002401/0.3326, allocations: 3.217 MB / 0.5991 GB, free: 11.65 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.115e-05/0.3326, allocations: 4.656 kB / 0.5991 GB, free: 11.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.552e-05/0.3326, allocations: 4 kB / 0.5991 GB, free: 11.64 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.408e-05/0.3327, allocations: 6.906 kB / 0.5991 GB, free: 11.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004012/0.3331, allocations: 99.53 kB / 0.5992 GB, free: 11.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.981e-05/0.3331, allocations: 43.78 kB / 0.5993 GB, free: 11.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.791e-05/0.3332, allocations: 0 / 0.5993 GB, free: 11.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.403e-05/0.3332, allocations: 19.98 kB / 0.5993 GB, free: 11.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.706e-05/0.3333, allocations: 21.34 kB / 0.5993 GB, free: 11.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.278e-06/0.3333, allocations: 4 kB / 0.5993 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001737/0.3335, allocations: 75.81 kB / 0.5994 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.207e-05/0.3335, allocations: 12.86 kB / 0.5994 GB, free: 11.37 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.296e-05/0.3335, allocations: 11.94 kB / 0.5994 GB, free: 11.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.3336, allocations: 41.91 kB / 0.5994 GB, free: 11.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3336, allocations: 1.375 kB / 0.5994 GB, free: 11.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3336, allocations: 0 / 0.5994 GB, free: 11.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.3337, allocations: 4 kB / 0.5994 GB, free: 11.31 MB / 446.1 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.0002973/0.334, allocations: 358.8 kB / 0.5998 GB, free: 10.92 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.334, allocations: 8.031 kB / 0.5998 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.692e-05/0.3341, allocations: 6.312 kB / 0.5998 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.509e-05/0.3342, allocations: 160.4 kB / 0.6 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.3342, allocations: 4.375 kB / 0.6 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.3342, allocations: 9.875 kB / 0.6 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.3343, allocations: 61.78 kB / 0.6 GB, free: 10.63 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3343, allocations: 3.984 kB / 0.6 GB, free: 10.63 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.3343, allocations: 7.938 kB / 0.6 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.3344, allocations: 1.312 kB / 0.6 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.443e-05/0.3344, allocations: 19.97 kB / 0.6001 GB, free: 10.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001109/0.3345, allocations: 166.6 kB / 0.6002 GB, free: 10.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.95e-05/0.3346, allocations: 51.52 kB / 0.6003 GB, free: 10.33 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.293e-05/0.3346, allocations: 16.86 kB / 0.6003 GB, free: 10.31 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004985/0.3351, allocations: 0.5921 MB / 0.6009 GB, free: 9.613 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.665e-05/0.3352, allocations: 44.05 kB / 0.6009 GB, free: 9.562 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.163e-06/0.3352, allocations: 0 / 0.6009 GB, free: 9.562 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004669/0.3356, allocations: 299.6 kB / 0.6012 GB, free: 9.219 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.952e-05/0.3357, allocations: 56.75 kB / 0.6012 GB, free: 9.152 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.876e-05/0.3357, allocations: 97.86 kB / 0.6013 GB, free: 9.047 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.3357, allocations: 25.7 kB / 0.6014 GB, free: 9.016 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.395e-05/0.3358, allocations: 89.38 kB / 0.6014 GB, free: 8.926 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.43e-05/0.3358, allocations: 27.56 kB / 0.6015 GB, free: 8.898 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.224e-05/0.3358, allocations: 29.7 kB / 0.6015 GB, free: 8.863 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.33e-05/0.3359, allocations: 315.7 kB / 0.6018 GB, free: 8.547 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.344e-05/0.3359, allocations: 12 kB / 0.6018 GB, free: 8.535 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.653e-05/0.336, allocations: 55.83 kB / 0.6019 GB, free: 8.465 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.385e-05/0.336, allocations: 83.7 kB / 0.6019 GB, free: 8.367 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.336, allocations: 0 / 0.6019 GB, free: 8.367 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001047/0.3361, allocations: 91.05 kB / 0.602 GB, free: 8.273 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.3362, allocations: 10.03 kB / 0.602 GB, free: 8.266 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3362, allocations: 3.938 kB / 0.602 GB, free: 8.262 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.3362, allocations: 4 kB / 0.6021 GB, free: 8.258 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.846e-05/0.3363, allocations: 24.7 kB / 0.6021 GB, free: 8.234 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.3363, allocations: 0 / 0.6021 GB, free: 8.234 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.729e-05/0.3363, allocations: 9.062 kB / 0.6021 GB, free: 8.227 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.3363, allocations: 4 kB / 0.6021 GB, free: 8.223 MB / 446.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.521e-05/0.3364, allocations: 114.8 kB / 0.6022 GB, free: 8.102 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.3364, allocations: 7.906 kB / 0.6022 GB, free: 8.094 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.243e-05/0.3364, allocations: 9.594 kB / 0.6022 GB, free: 8.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3364, allocations: 4 kB / 0.6022 GB, free: 8.086 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.3364, allocations: 0 / 0.6022 GB, free: 8.086 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.3365, allocations: 9.141 kB / 0.6022 GB, free: 8.078 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.3366, allocations: 177.6 kB / 0.6024 GB, free: 7.855 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3367, allocations: 0 / 0.6024 GB, free: 7.855 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.05e-05/0.3367, allocations: 16.58 kB / 0.6024 GB, free: 7.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3367, allocations: 0 / 0.6024 GB, free: 7.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.3368, allocations: 5.062 kB / 0.6024 GB, free: 7.836 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3368, allocations: 448 / 0.6024 GB, free: 7.836 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.3368, allocations: 0 / 0.6024 GB, free: 7.836 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.3369, allocations: 176.7 kB / 0.6026 GB, free: 7.648 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.652e-05/0.3369, allocations: 82.77 kB / 0.6027 GB, free: 7.551 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.3369, allocations: 8.031 kB / 0.6027 GB, free: 7.543 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.3371, allocations: 8 kB / 0.6027 GB, free: 7.535 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.141e-05/0.3371, allocations: 0 / 0.6027 GB, free: 7.535 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.3371, allocations: 9.094 kB / 0.6027 GB, free: 7.527 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.601e-05/0.3371, allocations: 79.27 kB / 0.6028 GB, free: 7.449 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3371, allocations: 0 / 0.6028 GB, free: 7.449 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002466/0.3374, allocations: 16.97 kB / 0.6028 GB, free: 7.434 MB / 446.1 MB 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 9.34e-05/0.3375, allocations: 105.3 kB / 0.6029 GB, free: 7.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.77e-05/0.3376, allocations: 47.86 kB / 0.6029 GB, free: 7.273 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3376, allocations: 1.469 kB / 0.6029 GB, free: 7.273 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.039e-05/0.3376, allocations: 19.98 kB / 0.6029 GB, free: 7.254 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.3379, allocations: 10.95 kB / 0.603 GB, free: 7.246 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004852/0.3384, allocations: 363.1 kB / 0.6033 GB, free: 6.922 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.421e-05/0.3385, allocations: 0.6845 MB / 0.604 GB, free: 6.211 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.231e-05/0.3385, allocations: 11.44 kB / 0.604 GB, free: 6.199 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3385, allocations: 3.938 kB / 0.604 GB, free: 6.195 MB / 446.1 MB Notification: Performance of Templates: time 0.0019/0.3404, allocations: 0.785 MB / 0.6048 GB, free: 5.41 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1)