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.001094/0.001094, allocations: 106.7 kB / 16.41 MB, free: 6.512 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.001018/0.001018, allocations: 187 kB / 17.34 MB, free: 5.742 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.16 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.8456/0.8456, allocations: 143 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002278/0.002278, allocations: 67.36 kB / 0.5962 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2165, allocations: 82.04 MB / 0.6763 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck): time 0.003893/0.2205, allocations: 1.261 MB / 0.6775 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006458/0.227, allocations: 3.26 MB / 0.6807 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.34e-05/0.227, allocations: 0 / 0.6807 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.271e-05/0.2271, allocations: 0 / 0.6807 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.247e-05/0.2272, allocations: 11.92 kB / 0.6807 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007795/0.228, allocations: 107.5 kB / 0.6808 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.2281, allocations: 39.84 kB / 0.6808 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.181e-05/0.2282, allocations: 4 kB / 0.6808 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.175e-05/0.2283, allocations: 19.92 kB / 0.6809 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.02e-05/0.2284, allocations: 23.91 kB / 0.6809 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.2284, allocations: 0 / 0.6809 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003444/0.2288, allocations: 75.81 kB / 0.681 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.794e-05/0.2288, allocations: 7.984 kB / 0.681 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.582e-05/0.2289, allocations: 15.94 kB / 0.681 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002822/0.2292, allocations: 79.72 kB / 0.6811 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.2292, allocations: 3.938 kB / 0.6811 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.734e-06/0.2292, allocations: 0 / 0.6811 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.2292, allocations: 0 / 0.6811 GB, free: 5.414 MB / 0.5137 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.0005504/0.2298, allocations: 343.6 kB / 0.6814 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.2298, allocations: 12.03 kB / 0.6814 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.23, allocations: 8.844 kB / 0.6814 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.2302, allocations: 168.3 kB / 0.6816 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.2302, allocations: 384 / 0.6816 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.553e-05/0.2303, allocations: 8.375 kB / 0.6816 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.2305, allocations: 53.8 kB / 0.6816 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.2305, allocations: 0 / 0.6816 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/0.2305, allocations: 4 kB / 0.6816 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.2306, allocations: 4 kB / 0.6816 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.297e-05/0.2307, allocations: 23.91 kB / 0.6817 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002741/0.2309, allocations: 165.7 kB / 0.6818 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.2311, allocations: 58.55 kB / 0.6819 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.916e-05/0.2312, allocations: 24.84 kB / 0.6819 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001124/0.2324, allocations: 0.5829 MB / 0.6825 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.2324, allocations: 34.56 kB / 0.6825 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 4.378e-06/0.2324, allocations: 4 kB / 0.6825 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0009323/0.2334, allocations: 306.5 kB / 0.6828 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.2335, allocations: 51.41 kB / 0.6828 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.2336, allocations: 97.84 kB / 0.6829 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.2336, allocations: 33.7 kB / 0.683 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.298e-05/0.2337, allocations: 87.98 kB / 0.6831 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.019e-05/0.2338, allocations: 31.55 kB / 0.6831 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.025e-05/0.2339, allocations: 29.72 kB / 0.6831 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.234, allocations: 318.8 kB / 0.6834 GB, free: 2.633 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.441e-05/0.2341, allocations: 12 kB / 0.6834 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.951e-05/0.2342, allocations: 49.14 kB / 0.6835 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.2344, allocations: 81.02 kB / 0.6836 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.2344, allocations: 0 / 0.6836 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002492/0.2347, allocations: 93.55 kB / 0.6836 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.2347, allocations: 4 kB / 0.6836 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.2348, allocations: 4.125 kB / 0.6837 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.2348, allocations: 4 kB / 0.6837 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.2349, allocations: 16 kB / 0.6837 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.527e-05/0.235, allocations: 7.984 kB / 0.6837 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.733e-05/0.2351, allocations: 7.938 kB / 0.6837 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.2351, allocations: 4 kB / 0.6837 GB, free: 2.312 MB / 0.5137 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 0.0001316/0.2352, allocations: 121.7 kB / 0.6838 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.685e-05/0.2353, allocations: 7.906 kB / 0.6838 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.916e-05/0.2354, allocations: 7.969 kB / 0.6838 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.2354, allocations: 4 kB / 0.6838 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.2354, allocations: 0 / 0.6838 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.2354, allocations: 3.938 kB / 0.6838 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004132/0.2358, allocations: 170.1 kB / 0.684 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.2358, allocations: 0 / 0.684 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/0.236, allocations: 19.98 kB / 0.684 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/0.2361, allocations: 4.281 kB / 0.684 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.2361, allocations: 4 kB / 0.684 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.2361, allocations: 0 / 0.684 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.2361, allocations: 0 / 0.684 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.2364, allocations: 195.4 kB / 0.6842 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.141e-05/0.2365, allocations: 81.02 kB / 0.6843 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.2366, allocations: 4 kB / 0.6843 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.2368, allocations: 4.031 kB / 0.6843 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.2368, allocations: 8 kB / 0.6843 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.2368, allocations: 3.938 kB / 0.6843 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.663e-05/0.2369, allocations: 79.28 kB / 0.6844 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2369, allocations: 0 / 0.6844 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004585/0.2374, allocations: 20 kB / 0.6844 GB, free: 1.5 MB / 0.5137 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.0001804/0.2376, allocations: 99.23 kB / 0.6845 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002007/0.2378, allocations: 47.86 kB / 0.6845 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.816e-06/0.2378, allocations: 0 / 0.6845 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.545e-05/0.2379, allocations: 8 kB / 0.6845 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004633/0.2384, allocations: 16.36 kB / 0.6846 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009387/0.2393, allocations: 352 kB / 0.6849 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.2397, allocations: 0.6815 MB / 0.6856 GB, free: 248 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.348e-05/0.2398, allocations: 11.44 kB / 0.6856 GB, free: 236 kB / 0.5137 GB Notification: Performance of SimCode: time 6.11e-07/0.2398, allocations: 0 / 0.6856 GB, free: 236 kB / 0.5137 GB Notification: Performance of Templates: time 0.00329/0.2431, allocations: 0.7925 MB / 0.6863 GB, free: 15.43 MB / 0.5294 GB 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)