Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.01179/0.01179, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.446/1.446, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.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 1.054/1.054, allocations: 143.2 MB / 434.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005451/0.0005451, allocations: 15.98 kB / 0.5164 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2067, allocations: 83.42 MB / 0.5979 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0008712/0.2076, allocations: 307 kB / 0.5982 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003124/0.2079, allocations: 51.88 kB / 0.5982 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.761e-05/0.208, allocations: 0 / 0.5982 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.186e-05/0.208, allocations: 0 / 0.5982 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.424e-05/0.2081, allocations: 4 kB / 0.5982 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000208/0.2083, allocations: 3.984 kB / 0.5982 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.956e-05/0.2084, allocations: 8 kB / 0.5982 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.066e-05/0.2084, allocations: 4 kB / 0.5982 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.955e-05/0.2085, allocations: 0 / 0.5982 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.804e-05/0.2085, allocations: 7.922 kB / 0.5982 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.2085, allocations: 0 / 0.5982 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.2087, allocations: 23.92 kB / 0.5983 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.329e-05/0.2087, allocations: 7.984 kB / 0.5983 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.118e-05/0.2088, allocations: 33.64 kB / 0.5983 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.2089, allocations: 19.92 kB / 0.5983 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.2089, allocations: 0 / 0.5983 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.008e-06/0.2089, allocations: 0 / 0.5983 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.2089, allocations: 0 / 0.5983 GB, free: 7.273 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005277/0.2095, allocations: 345.3 kB / 0.5986 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.309e-05/0.2095, allocations: 12.03 kB / 0.5987 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.308e-05/0.2096, allocations: 4.844 kB / 0.5987 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.2098, allocations: 172.5 kB / 0.5988 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.2098, allocations: 4.359 kB / 0.5988 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.2098, allocations: 4.375 kB / 0.5988 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.21, allocations: 54.25 kB / 0.5989 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.21, allocations: 192 / 0.5989 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.2101, allocations: 3.938 kB / 0.5989 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.728e-05/0.2101, allocations: 4 kB / 0.5989 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.379e-05/0.2102, allocations: 27.97 kB / 0.5989 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005736/0.2108, allocations: 272.8 kB / 0.5992 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.368e-05/0.2108, allocations: 14.58 kB / 0.5992 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.397e-05/0.2109, allocations: 8.922 kB / 0.5992 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.2109, allocations: 0 / 0.5992 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.2109, allocations: 30.56 kB / 0.5992 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.2109, allocations: 0 / 0.5992 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0002655/0.2112, allocations: 79.23 kB / 0.5993 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.817e-05/0.2113, allocations: 81.23 kB / 0.5994 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.2114, allocations: 109.8 kB / 0.5995 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.2115, allocations: 29.7 kB / 0.5995 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.602e-05/0.2116, allocations: 103.8 kB / 0.5996 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.066e-05/0.2116, allocations: 3.906 kB / 0.5996 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/0.2116, allocations: 17.72 kB / 0.5996 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.2118, allocations: 318.8 kB / 0.5999 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.801e-05/0.2118, allocations: 12 kB / 0.5999 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.49e-05/0.2119, allocations: 66.86 kB / 0.6 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.212, allocations: 130.1 kB / 0.6001 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.212, allocations: 0 / 0.6001 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001735/0.2122, allocations: 123.4 kB / 0.6003 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.279e-05/0.2123, allocations: 33.64 kB / 0.6003 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.2123, allocations: 4.469 kB / 0.6003 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.2123, allocations: 0 / 0.6003 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.353e-05/0.2124, allocations: 15.98 kB / 0.6003 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.2124, allocations: 0 / 0.6003 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.825e-05/0.2125, allocations: 11.94 kB / 0.6003 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.2125, allocations: 4 kB / 0.6003 GB, free: 4.898 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.0001359/0.2127, allocations: 155.3 kB / 0.6005 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.2127, allocations: 11.94 kB / 0.6005 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.659e-05/0.2127, allocations: 3.531 kB / 0.6005 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2127, allocations: 0 / 0.6005 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.309e-06/0.2128, allocations: 0 / 0.6005 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2128, allocations: 0 / 0.6005 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/0.213, allocations: 161.6 kB / 0.6006 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.213, allocations: 0 / 0.6006 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-07/0.213, allocations: 0 / 0.6006 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.213, allocations: 0 / 0.6006 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.213, allocations: 3.984 kB / 0.6006 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.213, allocations: 0 / 0.6006 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.213, allocations: 7.984 kB / 0.6006 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/0.2132, allocations: 169.1 kB / 0.6008 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.43e-05/0.2132, allocations: 81.11 kB / 0.6009 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.2132, allocations: 4 kB / 0.6009 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.556e-05/0.2133, allocations: 3.984 kB / 0.6009 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.895e-05/0.2133, allocations: 4 kB / 0.6009 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.2133, allocations: 0 / 0.6009 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.823e-05/0.2134, allocations: 91.31 kB / 0.601 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2134, allocations: 0 / 0.601 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002542/0.2137, allocations: 19.92 kB / 0.601 GB, free: 4.086 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002144/0.2139, allocations: 107.3 kB / 0.6011 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00017/0.2141, allocations: 83.33 kB / 0.6012 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2141, allocations: 0.5 kB / 0.6012 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.435e-05/0.2141, allocations: 67.34 kB / 0.6013 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.2144, allocations: 6.812 kB / 0.6013 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002609/0.2146, allocations: 114.6 kB / 0.6014 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.2149, allocations: 0.6809 MB / 0.602 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.479e-05/0.215, allocations: 11.97 kB / 0.602 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.18e-05/0.215, allocations: 15.5 kB / 0.6021 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.215, allocations: 0 / 0.6021 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of Templates: time 0.002934/0.218, allocations: 0.5031 MB / 0.6026 GB, free: 2.43 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)