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.001106/0.001106, allocations: 103.9 kB / 15.98 MB, free: 6.348 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.001165/0.001166, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.325/1.325, allocations: 222.9 MB / 240.6 MB, free: 15.44 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.8398/0.8398, allocations: 143.1 MB / 433.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 63.91 kB / 0.5143 GB, free: 15.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3649, allocations: 82.03 MB / 0.5944 GB, free: 16.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck): time 0.001922/0.3669, allocations: 1.322 MB / 0.5957 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002566/0.3695, allocations: 3.225 MB / 0.5989 GB, free: 11.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.326e-05/0.3695, allocations: 1.312 kB / 0.5989 GB, free: 11.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.187e-05/0.3695, allocations: 3.938 kB / 0.5989 GB, free: 11.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.65e-05/0.3696, allocations: 3.984 kB / 0.5989 GB, free: 11.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004608/0.3701, allocations: 101.2 kB / 0.599 GB, free: 11.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.673e-05/0.3701, allocations: 35.84 kB / 0.599 GB, free: 11.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.047e-05/0.3702, allocations: 4.625 kB / 0.599 GB, free: 11.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.633e-05/0.3702, allocations: 19.92 kB / 0.599 GB, free: 11.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.442e-05/0.3703, allocations: 21.19 kB / 0.599 GB, free: 11.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.3703, allocations: 0 / 0.599 GB, free: 11.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001931/0.3705, allocations: 87.81 kB / 0.5991 GB, free: 11.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.154e-05/0.3705, allocations: 5.391 kB / 0.5991 GB, free: 11.53 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.716e-05/0.3706, allocations: 19.92 kB / 0.5992 GB, free: 11.51 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.3707, allocations: 41.92 kB / 0.5992 GB, free: 11.47 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3707, allocations: 0 / 0.5992 GB, free: 11.47 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3707, allocations: 1.469 kB / 0.5992 GB, free: 11.47 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.78e-06/0.3707, allocations: 0 / 0.5992 GB, free: 11.47 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.0003488/0.3711, allocations: 353.3 kB / 0.5995 GB, free: 11.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.3711, allocations: 11.97 kB / 0.5995 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.614e-05/0.3712, allocations: 4.938 kB / 0.5996 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.96e-05/0.3713, allocations: 168.3 kB / 0.5997 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.3713, allocations: 7.031 kB / 0.5997 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.3713, allocations: 12.36 kB / 0.5997 GB, free: 10.85 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.3715, allocations: 57.78 kB / 0.5998 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.3715, allocations: 0 / 0.5998 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.3715, allocations: 0 / 0.5998 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.3715, allocations: 4 kB / 0.5998 GB, free: 10.78 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.92e-05/0.3715, allocations: 15.98 kB / 0.5998 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000132/0.3717, allocations: 162.8 kB / 0.6 GB, free: 10.56 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.62e-05/0.3718, allocations: 63.98 kB / 0.6 GB, free: 10.49 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.927e-05/0.3718, allocations: 8.859 kB / 0.6 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005408/0.3724, allocations: 0.6008 MB / 0.6006 GB, free: 9.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.588e-05/0.3724, allocations: 38.55 kB / 0.6007 GB, free: 9.723 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.3724, allocations: 0 / 0.6007 GB, free: 9.723 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004983/0.3729, allocations: 291.6 kB / 0.6009 GB, free: 9.387 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.3729, allocations: 56.09 kB / 0.601 GB, free: 9.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.693e-05/0.373, allocations: 99.36 kB / 0.6011 GB, free: 9.215 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.838e-06/0.373, allocations: 25.7 kB / 0.6011 GB, free: 9.184 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.816e-05/0.3731, allocations: 96.03 kB / 0.6012 GB, free: 9.086 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.466e-05/0.3731, allocations: 27.56 kB / 0.6012 GB, free: 9.059 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.3731, allocations: 27.14 kB / 0.6012 GB, free: 9.027 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.303e-05/0.3732, allocations: 318.8 kB / 0.6016 GB, free: 8.707 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.415e-05/0.3732, allocations: 16.64 kB / 0.6016 GB, free: 8.691 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.549e-05/0.3732, allocations: 51.3 kB / 0.6016 GB, free: 8.625 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.626e-05/0.3733, allocations: 72.59 kB / 0.6017 GB, free: 8.539 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3733, allocations: 0 / 0.6017 GB, free: 8.539 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001058/0.3734, allocations: 102.4 kB / 0.6018 GB, free: 8.434 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.3735, allocations: 4 kB / 0.6018 GB, free: 8.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3735, allocations: 1.531 kB / 0.6018 GB, free: 8.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.3735, allocations: 4 kB / 0.6018 GB, free: 8.426 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.707e-05/0.3736, allocations: 23.92 kB / 0.6018 GB, free: 8.402 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.3736, allocations: 4 kB / 0.6018 GB, free: 8.398 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.597e-05/0.3736, allocations: 4.75 kB / 0.6018 GB, free: 8.395 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.3736, allocations: 8.078 kB / 0.6018 GB, free: 8.387 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.147e-05/0.3737, allocations: 120.3 kB / 0.6019 GB, free: 8.262 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.3737, allocations: 7.906 kB / 0.602 GB, free: 8.254 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.715e-05/0.3737, allocations: 7.969 kB / 0.602 GB, free: 8.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.3737, allocations: 0 / 0.602 GB, free: 8.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3738, allocations: 0 / 0.602 GB, free: 8.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3738, allocations: 13.33 kB / 0.602 GB, free: 8.238 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.3739, allocations: 173.7 kB / 0.6021 GB, free: 8.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.374, allocations: 0 / 0.6021 GB, free: 8.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.708e-05/0.374, allocations: 16.44 kB / 0.6022 GB, free: 8.004 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.374, allocations: 1.094 kB / 0.6022 GB, free: 8.004 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.3741, allocations: 0 / 0.6022 GB, free: 8.004 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3741, allocations: 7.984 kB / 0.6022 GB, free: 7.996 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3741, allocations: 1.344 kB / 0.6022 GB, free: 7.996 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.3742, allocations: 184.8 kB / 0.6023 GB, free: 7.801 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.698e-05/0.3742, allocations: 81.14 kB / 0.6024 GB, free: 7.703 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.3743, allocations: 0 / 0.6024 GB, free: 7.703 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.3744, allocations: 4 kB / 0.6024 GB, free: 7.699 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.372e-05/0.3744, allocations: 5.344 kB / 0.6024 GB, free: 7.695 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.3744, allocations: 7.938 kB / 0.6024 GB, free: 7.688 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.023e-05/0.3744, allocations: 84.61 kB / 0.6025 GB, free: 7.605 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3744, allocations: 0 / 0.6025 GB, free: 7.605 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002299/0.3747, allocations: 12 kB / 0.6025 GB, free: 7.594 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.0001028/0.3748, allocations: 104.6 kB / 0.6026 GB, free: 7.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000108/0.3749, allocations: 44.67 kB / 0.6027 GB, free: 7.438 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3749, allocations: 5.375 kB / 0.6027 GB, free: 7.434 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.104e-05/0.3749, allocations: 19.91 kB / 0.6027 GB, free: 7.414 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.3752, allocations: 12.8 kB / 0.6027 GB, free: 7.402 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005263/0.3757, allocations: 365.2 kB / 0.6031 GB, free: 7.078 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.3759, allocations: 0.6807 MB / 0.6037 GB, free: 6.371 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.279e-05/0.3759, allocations: 11.44 kB / 0.6037 GB, free: 6.359 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3759, allocations: 0 / 0.6037 GB, free: 6.359 MB / 446.1 MB Notification: Performance of Templates: time 0.001797/0.3777, allocations: 0.782 MB / 0.6045 GB, free: 5.578 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)