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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.001308/0.001308, allocations: 99.7 kB / 16.35 MB, free: 5.828 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.00139/0.00139, allocations: 197.2 kB / 17.3 MB, free: 5.484 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.284/1.284, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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/package.mo): time 0.8338/0.8338, allocations: 143 MB / 434.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 63.84 kB / 0.5156 GB, free: 14.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3133, allocations: 82.04 MB / 0.5957 GB, free: 16.11 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck): time 0.001857/0.3152, allocations: 1.26 MB / 0.5969 GB, free: 14.85 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002304/0.3175, allocations: 3.26 MB / 0.6001 GB, free: 11.58 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.17e-05/0.3175, allocations: 1.531 kB / 0.6001 GB, free: 11.58 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.528e-05/0.3176, allocations: 3.984 kB / 0.6001 GB, free: 11.58 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.751e-05/0.3176, allocations: 3.938 kB / 0.6001 GB, free: 11.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004115/0.318, allocations: 108.8 kB / 0.6002 GB, free: 11.47 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.47e-05/0.3181, allocations: 39.78 kB / 0.6002 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.004e-05/0.3181, allocations: 1.094 kB / 0.6002 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.16e-05/0.3182, allocations: 19.98 kB / 0.6003 GB, free: 11.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.009e-05/0.3182, allocations: 19.91 kB / 0.6003 GB, free: 11.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.688e-06/0.3182, allocations: 5.031 kB / 0.6003 GB, free: 11.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001701/0.3184, allocations: 71.81 kB / 0.6004 GB, free: 11.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.297e-05/0.3184, allocations: 13.39 kB / 0.6004 GB, free: 11.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.444e-05/0.3185, allocations: 15.92 kB / 0.6004 GB, free: 11.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.3186, allocations: 67.8 kB / 0.6004 GB, free: 11.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3186, allocations: 0 / 0.6004 GB, free: 11.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3186, allocations: 1.344 kB / 0.6004 GB, free: 11.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.3186, allocations: 4 kB / 0.6004 GB, free: 11.22 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.0002827/0.3189, allocations: 352.8 kB / 0.6008 GB, free: 10.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.726e-05/0.319, allocations: 8.031 kB / 0.6008 GB, free: 10.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.122e-05/0.319, allocations: 4.938 kB / 0.6008 GB, free: 10.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.97e-05/0.3191, allocations: 162.9 kB / 0.601 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.3191, allocations: 8.312 kB / 0.601 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.3191, allocations: 13.33 kB / 0.601 GB, free: 10.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.712e-05/0.3192, allocations: 49.81 kB / 0.601 GB, free: 10.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.3193, allocations: 0.875 kB / 0.601 GB, free: 10.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.3193, allocations: 7.984 kB / 0.601 GB, free: 10.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.3193, allocations: 1.5 kB / 0.601 GB, free: 10.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.24e-05/0.3193, allocations: 19.92 kB / 0.6011 GB, free: 10.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000108/0.3194, allocations: 161.7 kB / 0.6012 GB, free: 10.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.603e-05/0.3195, allocations: 51.77 kB / 0.6013 GB, free: 10.26 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.208e-05/0.3195, allocations: 16.86 kB / 0.6013 GB, free: 10.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004725/0.32, allocations: 0.6008 MB / 0.6019 GB, free: 9.531 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.385e-05/0.3201, allocations: 42.48 kB / 0.6019 GB, free: 9.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.342e-06/0.3201, allocations: 1.812 kB / 0.6019 GB, free: 9.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004277/0.3205, allocations: 294.3 kB / 0.6022 GB, free: 9.141 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.66e-05/0.3205, allocations: 52.41 kB / 0.6022 GB, free: 9.078 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.069e-05/0.3206, allocations: 97.86 kB / 0.6023 GB, free: 8.973 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.825e-06/0.3206, allocations: 26.95 kB / 0.6023 GB, free: 8.941 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.166e-05/0.3206, allocations: 88.03 kB / 0.6024 GB, free: 8.852 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.206e-05/0.3206, allocations: 31.62 kB / 0.6025 GB, free: 8.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/0.3207, allocations: 30.33 kB / 0.6025 GB, free: 8.785 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.394e-05/0.3207, allocations: 320.2 kB / 0.6028 GB, free: 8.465 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.245e-05/0.3207, allocations: 11.98 kB / 0.6028 GB, free: 8.453 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.367e-05/0.3208, allocations: 52.3 kB / 0.6029 GB, free: 8.387 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.147e-05/0.3208, allocations: 84.41 kB / 0.6029 GB, free: 8.289 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.3208, allocations: 0 / 0.6029 GB, free: 8.289 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000102/0.3209, allocations: 92.64 kB / 0.603 GB, free: 8.195 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.321, allocations: 8 kB / 0.603 GB, free: 8.188 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.321, allocations: 0 / 0.603 GB, free: 8.188 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.321, allocations: 4 kB / 0.603 GB, free: 8.184 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.611e-05/0.3211, allocations: 24.42 kB / 0.6031 GB, free: 8.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.3211, allocations: 0 / 0.6031 GB, free: 8.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.58e-05/0.3211, allocations: 7.938 kB / 0.6031 GB, free: 8.152 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.3211, allocations: 11.94 kB / 0.6031 GB, free: 8.141 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.584e-05/0.3212, allocations: 115.9 kB / 0.6032 GB, free: 8.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.3212, allocations: 3.906 kB / 0.6032 GB, free: 8.016 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.115e-05/0.3212, allocations: 7.969 kB / 0.6032 GB, free: 8.012 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3212, allocations: 5.5 kB / 0.6032 GB, free: 8.008 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3212, allocations: 0 / 0.6032 GB, free: 8.008 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.3212, allocations: 11.86 kB / 0.6032 GB, free: 7.996 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.3214, allocations: 169.7 kB / 0.6034 GB, free: 7.781 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3214, allocations: 4.734 kB / 0.6034 GB, free: 7.777 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.549e-05/0.3215, allocations: 15.94 kB / 0.6034 GB, free: 7.762 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3215, allocations: 1.5 kB / 0.6034 GB, free: 7.762 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.3215, allocations: 4 kB / 0.6034 GB, free: 7.758 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3215, allocations: 0 / 0.6034 GB, free: 7.758 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3215, allocations: 0 / 0.6034 GB, free: 7.758 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.3217, allocations: 176.4 kB / 0.6036 GB, free: 7.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.901e-05/0.3217, allocations: 86.11 kB / 0.6037 GB, free: 7.469 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.3217, allocations: 0 / 0.6037 GB, free: 7.469 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.3218, allocations: 9.438 kB / 0.6037 GB, free: 7.461 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.648e-05/0.3219, allocations: 0 / 0.6037 GB, free: 7.461 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.3219, allocations: 7.938 kB / 0.6037 GB, free: 7.453 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.891e-05/0.3219, allocations: 80.08 kB / 0.6037 GB, free: 7.375 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3219, allocations: 0 / 0.6037 GB, free: 7.375 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002301/0.3221, allocations: 17.34 kB / 0.6038 GB, free: 7.359 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.069e-05/0.3222, allocations: 105 kB / 0.6039 GB, free: 7.246 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.312e-05/0.3223, allocations: 47.86 kB / 0.6039 GB, free: 7.199 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3224, allocations: 0.5625 kB / 0.6039 GB, free: 7.199 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.957e-05/0.3224, allocations: 21.77 kB / 0.6039 GB, free: 7.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.3226, allocations: 6.078 kB / 0.6039 GB, free: 7.176 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004638/0.3231, allocations: 340.7 kB / 0.6043 GB, free: 6.875 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.3232, allocations: 0.6807 MB / 0.6049 GB, free: 6.168 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.332e-05/0.3233, allocations: 8 kB / 0.6049 GB, free: 6.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.858e-05/0.3233, allocations: 11.44 kB / 0.6049 GB, free: 6.148 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3233, allocations: 0 / 0.6049 GB, free: 6.148 MB / 446.1 MB Notification: Performance of Templates: time 0.002289/0.3256, allocations: 0.6292 MB / 0.6056 GB, free: 5.523 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 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1)