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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.7347/0.7347, allocations: 128.7 MB / 144.5 MB, free: 1.363 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001315/0.001315, allocations: 184 kB / 174.2 MB, free: 5.93 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 205 MB / 408.9 MB, free: 9.691 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001081/0.001081, allocations: 97.55 kB / 485.1 MB, free: 13.56 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001028/0.001028, allocations: 54.67 kB / 0.558 GB, free: 97.45 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1511, allocations: 75.47 MB / 0.6317 GB, free: 32.98 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.00223/0.1534, allocations: 0.6525 MB / 0.6323 GB, free: 32.32 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006893/0.1541, allocations: 372.3 kB / 0.6327 GB, free: 31.95 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.49e-05/0.1541, allocations: 0 / 0.6327 GB, free: 31.95 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.708e-05/0.1542, allocations: 0 / 0.6327 GB, free: 31.95 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 2.344e-05/0.1542, allocations: 0 / 0.6327 GB, free: 31.95 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003921/0.1546, allocations: 80.53 kB / 0.6328 GB, free: 31.88 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.614e-05/0.1547, allocations: 11.98 kB / 0.6328 GB, free: 31.86 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.733e-05/0.1547, allocations: 0 / 0.6328 GB, free: 31.86 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.724e-05/0.1547, allocations: 11.98 kB / 0.6328 GB, free: 31.85 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.59e-05/0.1548, allocations: 3.938 kB / 0.6328 GB, free: 31.85 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.1548, allocations: 0 / 0.6328 GB, free: 31.85 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003155/0.1551, allocations: 279.6 kB / 0.6331 GB, free: 31.57 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.1551, allocations: 0 / 0.6331 GB, free: 31.57 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.878e-05/0.1552, allocations: 4 kB / 0.6331 GB, free: 31.57 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.1554, allocations: 91.78 kB / 0.6331 GB, free: 31.48 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.1554, allocations: 0 / 0.6331 GB, free: 31.48 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1554, allocations: 0 / 0.6331 GB, free: 31.48 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.136e-06/0.1554, allocations: 0 / 0.6331 GB, free: 31.48 MB / 442.7 MB 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.0003512/0.1558, allocations: 347.6 kB / 0.6335 GB, free: 31.09 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.1558, allocations: 8.031 kB / 0.6335 GB, free: 31.08 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.191e-05/0.1559, allocations: 0.9375 kB / 0.6335 GB, free: 31.08 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.156, allocations: 168.3 kB / 0.6336 GB, free: 30.88 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.156, allocations: 384 / 0.6336 GB, free: 30.88 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.156, allocations: 4.375 kB / 0.6337 GB, free: 30.88 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.1562, allocations: 38.19 kB / 0.6337 GB, free: 30.83 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.1562, allocations: 192 / 0.6337 GB, free: 30.83 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.1562, allocations: 7.938 kB / 0.6337 GB, free: 30.82 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1562, allocations: 4 kB / 0.6337 GB, free: 30.82 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.398e-05/0.1562, allocations: 0 / 0.6337 GB, free: 30.82 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.1564, allocations: 153.7 kB / 0.6338 GB, free: 30.62 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.932e-05/0.1564, allocations: 18.61 kB / 0.6339 GB, free: 30.59 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.036e-05/0.1565, allocations: 12.92 kB / 0.6339 GB, free: 30.58 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006538/0.1571, allocations: 457.5 kB / 0.6343 GB, free: 30.04 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.1572, allocations: 42.44 kB / 0.6344 GB, free: 29.99 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1572, allocations: 3.938 kB / 0.6344 GB, free: 29.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005997/0.1578, allocations: 258.5 kB / 0.6346 GB, free: 29.68 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.1578, allocations: 51.41 kB / 0.6347 GB, free: 29.62 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.493e-05/0.1579, allocations: 93.86 kB / 0.6347 GB, free: 29.52 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.1579, allocations: 25.7 kB / 0.6348 GB, free: 29.48 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.353e-05/0.158, allocations: 84.14 kB / 0.6348 GB, free: 29.4 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.158, allocations: 16.02 kB / 0.6349 GB, free: 29.38 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/0.158, allocations: 17.72 kB / 0.6349 GB, free: 29.36 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.677e-05/0.1581, allocations: 319 kB / 0.6352 GB, free: 29.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.74e-05/0.1581, allocations: 0 / 0.6352 GB, free: 29.04 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.123e-05/0.1582, allocations: 29.7 kB / 0.6352 GB, free: 29 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.169e-05/0.1582, allocations: 25.66 kB / 0.6352 GB, free: 28.97 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1582, allocations: 0 / 0.6352 GB, free: 28.97 MB / 442.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.776e-05/0.1583, allocations: 49.69 kB / 0.6353 GB, free: 28.92 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.1584, allocations: 13.72 kB / 0.6353 GB, free: 28.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.1584, allocations: 4 kB / 0.6353 GB, free: 28.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.1584, allocations: 0 / 0.6353 GB, free: 28.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.976e-05/0.1585, allocations: 7.938 kB / 0.6353 GB, free: 28.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.1585, allocations: 7.984 kB / 0.6353 GB, free: 28.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.044e-05/0.1585, allocations: 0 / 0.6353 GB, free: 28.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.1585, allocations: 0 / 0.6353 GB, free: 28.89 MB / 442.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.403e-05/0.1586, allocations: 113.8 kB / 0.6354 GB, free: 28.77 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/0.1586, allocations: 3.938 kB / 0.6354 GB, free: 28.76 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.1588, allocations: 57.17 kB / 0.6355 GB, free: 28.7 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.1588, allocations: 0 / 0.6355 GB, free: 28.7 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1588, allocations: 0 / 0.6355 GB, free: 28.7 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1588, allocations: 0 / 0.6355 GB, free: 28.7 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.357e-05/0.1589, allocations: 153.7 kB / 0.6356 GB, free: 28.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1589, allocations: 4 kB / 0.6356 GB, free: 28.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.356e-05/0.159, allocations: 7.938 kB / 0.6356 GB, free: 28.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.159, allocations: 3.938 kB / 0.6356 GB, free: 28.48 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.159, allocations: 0 / 0.6356 GB, free: 28.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.159, allocations: 4 kB / 0.6356 GB, free: 28.48 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.159, allocations: 3.984 kB / 0.6357 GB, free: 28.48 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007077/0.1597, allocations: 0.919 MB / 0.6365 GB, free: 27.42 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.774e-05/0.1597, allocations: 77.11 kB / 0.6366 GB, free: 27.33 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.101e-06/0.1597, allocations: 0 / 0.6366 GB, free: 27.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.659e-05/0.1598, allocations: 8 kB / 0.6366 GB, free: 27.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.951e-05/0.1598, allocations: 4.031 kB / 0.6366 GB, free: 27.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.1598, allocations: 0 / 0.6366 GB, free: 27.32 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.485e-05/0.1599, allocations: 83.27 kB / 0.6367 GB, free: 27.23 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1599, allocations: 0 / 0.6367 GB, free: 27.23 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002815/0.1601, allocations: 20 kB / 0.6367 GB, free: 27.21 MB / 442.7 MB 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 (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.0001924/0.1603, allocations: 127.4 kB / 0.6369 GB, free: 27.08 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.778e-05/0.1604, allocations: 15.94 kB / 0.6369 GB, free: 27.06 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1604, allocations: 0 / 0.6369 GB, free: 27.06 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.548e-05/0.1605, allocations: 11.98 kB / 0.6369 GB, free: 27.05 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.1606, allocations: 7.938 kB / 0.6369 GB, free: 27.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002901/0.1609, allocations: 214.2 kB / 0.6371 GB, free: 26.79 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.161, allocations: 0.6811 MB / 0.6378 GB, free: 26.09 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.642e-05/0.1611, allocations: 7.938 kB / 0.6378 GB, free: 26.08 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.492e-05/0.1611, allocations: 7.438 kB / 0.6378 GB, free: 26.07 MB / 442.7 MB Notification: Performance of SimCode: time 3.91e-07/0.1611, allocations: 0 / 0.6378 GB, free: 26.07 MB / 442.7 MB Notification: Performance of Templates: time 0.002788/0.1639, allocations: 0.8811 MB / 0.6386 GB, free: 25.2 MB / 442.7 MB 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)