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.001113/0.001113, allocations: 109.7 kB / 16.37 MB, free: 6.004 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.001064/0.001064, allocations: 194.9 kB / 17.31 MB, free: 5.613 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.17 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.8966/0.8966, allocations: 143.1 MB / 434.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 56.14 kB / 0.5156 GB, free: 14.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.381, allocations: 82.04 MB / 0.5957 GB, free: 16.15 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck): time 0.002028/0.3831, allocations: 1.267 MB / 0.5969 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002633/0.3858, allocations: 3.249 MB / 0.6001 GB, free: 11.63 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.912e-05/0.3858, allocations: 4 kB / 0.6001 GB, free: 11.63 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.718e-05/0.3858, allocations: 8.625 kB / 0.6001 GB, free: 11.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.194e-05/0.3859, allocations: 3.984 kB / 0.6001 GB, free: 11.62 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000465/0.3864, allocations: 109 kB / 0.6002 GB, free: 11.51 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.991e-05/0.3864, allocations: 33.33 kB / 0.6002 GB, free: 11.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.578e-05/0.3865, allocations: 3.984 kB / 0.6002 GB, free: 11.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.925e-05/0.3865, allocations: 23.92 kB / 0.6003 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.926e-05/0.3866, allocations: 15.92 kB / 0.6003 GB, free: 11.44 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.3866, allocations: 4.688 kB / 0.6003 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001974/0.3868, allocations: 77.3 kB / 0.6004 GB, free: 11.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.496e-05/0.3868, allocations: 15.92 kB / 0.6004 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.77e-05/0.3869, allocations: 11.92 kB / 0.6004 GB, free: 11.33 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.387, allocations: 67.86 kB / 0.6005 GB, free: 11.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.387, allocations: 1.062 kB / 0.6005 GB, free: 11.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.387, allocations: 0 / 0.6005 GB, free: 11.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.3871, allocations: 0 / 0.6005 GB, free: 11.27 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.0003307/0.3874, allocations: 352.3 kB / 0.6008 GB, free: 10.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.3874, allocations: 9.531 kB / 0.6008 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.68e-05/0.3875, allocations: 4.938 kB / 0.6008 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.594e-05/0.3876, allocations: 174.1 kB / 0.601 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.3876, allocations: 8.375 kB / 0.601 GB, free: 10.65 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/0.3877, allocations: 5.094 kB / 0.601 GB, free: 10.65 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.3878, allocations: 59.33 kB / 0.601 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.3878, allocations: 0 / 0.601 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.3878, allocations: 0 / 0.601 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.3878, allocations: 3.938 kB / 0.601 GB, free: 10.58 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.001e-05/0.3879, allocations: 16.8 kB / 0.6011 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001288/0.388, allocations: 172.2 kB / 0.6012 GB, free: 10.35 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.733e-05/0.3881, allocations: 50.5 kB / 0.6013 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.5e-05/0.3881, allocations: 16.86 kB / 0.6013 GB, free: 10.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005403/0.3887, allocations: 0.6001 MB / 0.6019 GB, free: 9.566 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.3887, allocations: 34.56 kB / 0.6019 GB, free: 9.523 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.733e-06/0.3887, allocations: 1.125 kB / 0.6019 GB, free: 9.523 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004818/0.3892, allocations: 291.6 kB / 0.6022 GB, free: 9.188 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/0.3892, allocations: 55.41 kB / 0.6022 GB, free: 9.121 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.021e-05/0.3893, allocations: 103.4 kB / 0.6023 GB, free: 9.012 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.408e-06/0.3893, allocations: 25.7 kB / 0.6024 GB, free: 8.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.531e-05/0.3893, allocations: 87.98 kB / 0.6024 GB, free: 8.891 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.224e-05/0.3894, allocations: 31.55 kB / 0.6025 GB, free: 8.859 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/0.3894, allocations: 27.06 kB / 0.6025 GB, free: 8.828 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.24e-05/0.3894, allocations: 314.8 kB / 0.6028 GB, free: 8.512 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.481e-05/0.3895, allocations: 17.33 kB / 0.6028 GB, free: 8.496 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.045e-05/0.3895, allocations: 55.91 kB / 0.6029 GB, free: 8.426 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.554e-05/0.3896, allocations: 75.42 kB / 0.6029 GB, free: 8.336 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3896, allocations: 1.25 kB / 0.6029 GB, free: 8.336 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001043/0.3897, allocations: 89.55 kB / 0.603 GB, free: 8.242 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.3897, allocations: 11.19 kB / 0.603 GB, free: 8.234 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3897, allocations: 0 / 0.603 GB, free: 8.234 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3898, allocations: 3.938 kB / 0.603 GB, free: 8.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.956e-05/0.3898, allocations: 33.36 kB / 0.6031 GB, free: 8.199 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.3898, allocations: 80 / 0.6031 GB, free: 8.199 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.568e-05/0.3899, allocations: 11.88 kB / 0.6031 GB, free: 8.188 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.3899, allocations: 7.984 kB / 0.6031 GB, free: 8.18 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 5.262e-05/0.39, allocations: 111.3 kB / 0.6032 GB, free: 8.062 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.39, allocations: 7.906 kB / 0.6032 GB, free: 8.055 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.494e-05/0.39, allocations: 12.89 kB / 0.6032 GB, free: 8.047 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.39, allocations: 7.938 kB / 0.6032 GB, free: 8.039 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.39, allocations: 1.156 kB / 0.6032 GB, free: 8.039 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.39, allocations: 3.938 kB / 0.6032 GB, free: 8.035 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.3902, allocations: 177.7 kB / 0.6034 GB, free: 7.812 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3902, allocations: 1.844 kB / 0.6034 GB, free: 7.812 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.547e-05/0.3903, allocations: 12 kB / 0.6034 GB, free: 7.801 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3903, allocations: 0 / 0.6034 GB, free: 7.801 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.3903, allocations: 7.984 kB / 0.6034 GB, free: 7.793 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3903, allocations: 5.344 kB / 0.6034 GB, free: 7.789 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3903, allocations: 0 / 0.6034 GB, free: 7.789 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.3905, allocations: 168.8 kB / 0.6036 GB, free: 7.609 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.144e-05/0.3905, allocations: 85.14 kB / 0.6037 GB, free: 7.508 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.3905, allocations: 3.938 kB / 0.6037 GB, free: 7.504 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.3906, allocations: 9.469 kB / 0.6037 GB, free: 7.496 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.513e-05/0.3907, allocations: 3.984 kB / 0.6037 GB, free: 7.492 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.3907, allocations: 7.938 kB / 0.6037 GB, free: 7.484 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.795e-05/0.3907, allocations: 76.62 kB / 0.6038 GB, free: 7.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3907, allocations: 0 / 0.6038 GB, free: 7.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002322/0.3909, allocations: 16 kB / 0.6038 GB, free: 7.395 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 0.0001099/0.3911, allocations: 105.2 kB / 0.6039 GB, free: 7.281 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001011/0.3912, allocations: 49.34 kB / 0.6039 GB, free: 7.234 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3912, allocations: 0 / 0.6039 GB, free: 7.234 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.214e-05/0.3912, allocations: 19.94 kB / 0.6039 GB, free: 7.215 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.3915, allocations: 5.344 kB / 0.604 GB, free: 7.211 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004835/0.392, allocations: 329.6 kB / 0.6043 GB, free: 6.918 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.3921, allocations: 0.6846 MB / 0.6049 GB, free: 6.207 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.832e-05/0.3922, allocations: 11.98 kB / 0.6049 GB, free: 6.195 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.197e-05/0.3922, allocations: 7.438 kB / 0.605 GB, free: 6.188 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3922, allocations: 7.938 kB / 0.605 GB, free: 6.18 MB / 446.1 MB Notification: Performance of Templates: time 0.002542/0.3947, allocations: 0.6207 MB / 0.6056 GB, free: 5.562 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 cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1)