Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008667/0.0008667, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008677/0.0008678, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.193/1.193, allocations: 223.2 MB / 240 MB, free: 5.41 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 0.8838/0.8838, allocations: 143.2 MB / 434.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002662/0.0002663, allocations: 8 kB / 0.5158 GB, free: 11.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1298, allocations: 83.42 MB / 0.5973 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0005762/0.1304, allocations: 327 kB / 0.5976 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005197/0.1309, allocations: 311.3 kB / 0.5979 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.539e-05/0.1309, allocations: 0 / 0.5979 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.778e-06/0.1309, allocations: 3.938 kB / 0.5979 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 1.828e-05/0.131, allocations: 0 / 0.5979 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002987/0.1313, allocations: 72.59 kB / 0.5979 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.638e-05/0.1313, allocations: 12 kB / 0.598 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.006e-05/0.1313, allocations: 4 kB / 0.598 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.582e-05/0.1314, allocations: 3.984 kB / 0.598 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.922e-05/0.1314, allocations: 11.92 kB / 0.598 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.077e-06/0.1314, allocations: 0 / 0.598 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003131/0.1317, allocations: 267.7 kB / 0.5982 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.476e-06/0.1318, allocations: 4 kB / 0.5982 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.808e-05/0.1318, allocations: 25.7 kB / 0.5983 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.651e-05/0.1319, allocations: 55.89 kB / 0.5983 GB, free: 7 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1319, allocations: 0 / 0.5983 GB, free: 7 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1319, allocations: 0 / 0.5983 GB, free: 7 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.055e-06/0.1319, allocations: 4 kB / 0.5983 GB, free: 6.996 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002829/0.1322, allocations: 339.4 kB / 0.5986 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.844e-05/0.1322, allocations: 11.97 kB / 0.5987 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.425e-05/0.1323, allocations: 0 / 0.5987 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.1324, allocations: 167 kB / 0.5988 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.1324, allocations: 0 / 0.5988 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.1324, allocations: 11.78 kB / 0.5988 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.529e-05/0.1325, allocations: 37.69 kB / 0.5989 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.1325, allocations: 4 kB / 0.5989 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.1325, allocations: 0 / 0.5989 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.1325, allocations: 0 / 0.5989 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.503e-05/0.1326, allocations: 4 kB / 0.5989 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000136/0.1327, allocations: 157.9 kB / 0.599 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.132e-05/0.1327, allocations: 22.61 kB / 0.599 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.656e-05/0.1328, allocations: 12.86 kB / 0.5991 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005953/0.1334, allocations: 461.5 kB / 0.5995 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.1334, allocations: 34.56 kB / 0.5995 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.1334, allocations: 8 kB / 0.5995 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004055/0.1338, allocations: 246.3 kB / 0.5998 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.1339, allocations: 51.41 kB / 0.5998 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.567e-05/0.1339, allocations: 101.8 kB / 0.5999 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.1339, allocations: 25.7 kB / 0.5999 GB, free: 5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.549e-05/0.134, allocations: 84.47 kB / 0.6 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.134, allocations: 11.81 kB / 0.6 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.134, allocations: 4 kB / 0.6 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.096e-05/0.1341, allocations: 318.8 kB / 0.6003 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.224e-05/0.1341, allocations: 0 / 0.6003 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.193e-05/0.1341, allocations: 25.7 kB / 0.6004 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.886e-05/0.1342, allocations: 4 kB / 0.6004 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.1342, allocations: 0 / 0.6004 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.547e-05/0.1343, allocations: 57.62 kB / 0.6004 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.127e-06/0.1343, allocations: 4 kB / 0.6004 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1343, allocations: 4 kB / 0.6004 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.1343, allocations: 4 kB / 0.6004 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.811e-05/0.1344, allocations: 8 kB / 0.6004 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1344, allocations: 3.984 kB / 0.6004 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.505e-05/0.1344, allocations: 3.938 kB / 0.6004 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.1344, allocations: 4 kB / 0.6005 GB, free: 4.449 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.084e-05/0.1345, allocations: 113.8 kB / 0.6006 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.18e-05/0.1345, allocations: 11.98 kB / 0.6006 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.1346, allocations: 53.19 kB / 0.6006 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1346, allocations: 192 / 0.6006 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.1346, allocations: 0 / 0.6006 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1346, allocations: 7.922 kB / 0.6006 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.025e-05/0.1347, allocations: 153.6 kB / 0.6008 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1347, allocations: 0 / 0.6008 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.339e-05/0.1348, allocations: 4 kB / 0.6008 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1348, allocations: 4 kB / 0.6008 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.1348, allocations: 8 kB / 0.6008 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.1348, allocations: 3.984 kB / 0.6008 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1348, allocations: 3.938 kB / 0.6008 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.1349, allocations: 73.03 kB / 0.6009 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-05/0.135, allocations: 81.06 kB / 0.6009 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.135, allocations: 8.031 kB / 0.601 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.133e-05/0.135, allocations: 0 / 0.601 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.039e-05/0.135, allocations: 8.047 kB / 0.601 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.135, allocations: 4 kB / 0.601 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.719e-05/0.1351, allocations: 75.28 kB / 0.601 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1351, allocations: 0 / 0.601 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001872/0.1353, allocations: 24 kB / 0.6011 GB, free: 3.723 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001709/0.1354, allocations: 123.2 kB / 0.6012 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.89e-05/0.1355, allocations: 16.08 kB / 0.6012 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.1355, allocations: 8.062 kB / 0.6012 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.435e-05/0.1356, allocations: 8 kB / 0.6012 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.1357, allocations: 0 / 0.6012 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001693/0.1359, allocations: 112.6 kB / 0.6013 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001878/0.1361, allocations: 0.6731 MB / 0.602 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.954e-05/0.1361, allocations: 15.94 kB / 0.602 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.534e-05/0.1361, allocations: 11.44 kB / 0.602 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.1361, allocations: 0 / 0.602 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of Templates: time 0.002534/0.1386, allocations: 0.8602 MB / 0.6028 GB, free: 1.848 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)