Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008411/0.0008411, allocations: 93.03 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 181.8 kB / 16.91 MB, free: 6.914 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.438/1.438, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7295/0.7295, allocations: 115.5 MB / 407.6 MB, free: 2.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003917/0.0003917, allocations: 13.94 kB / 495.9 MB, free: 6.344 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2012, allocations: 77.52 MB / 0.56 GB, free: 9.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0009078/0.2022, allocations: 307.8 kB / 0.5603 GB, free: 8.711 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007964/0.203, allocations: 353.6 kB / 0.5606 GB, free: 8.367 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.183e-05/0.2031, allocations: 0 / 0.5606 GB, free: 8.367 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.388e-05/0.2031, allocations: 0 / 0.5606 GB, free: 8.367 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.252e-06/0.2031, allocations: 0 / 0.5606 GB, free: 8.367 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004591/0.2036, allocations: 75.11 kB / 0.5607 GB, free: 8.297 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.373e-05/0.2036, allocations: 3.984 kB / 0.5607 GB, free: 8.293 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.856e-05/0.2037, allocations: 0 / 0.5607 GB, free: 8.293 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.931e-05/0.2037, allocations: 4 kB / 0.5607 GB, free: 8.289 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.596e-05/0.2037, allocations: 0 / 0.5607 GB, free: 8.289 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.2037, allocations: 0 / 0.5607 GB, free: 8.289 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004725/0.2042, allocations: 271.7 kB / 0.5609 GB, free: 8.023 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.704e-05/0.2042, allocations: 11.92 kB / 0.5609 GB, free: 8.012 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.745e-05/0.2043, allocations: 25.7 kB / 0.561 GB, free: 7.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.2045, allocations: 87.86 kB / 0.561 GB, free: 7.895 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2045, allocations: 0 / 0.561 GB, free: 7.895 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2045, allocations: 0 / 0.561 GB, free: 7.895 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.2045, allocations: 0 / 0.561 GB, free: 7.895 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003393/0.2049, allocations: 333.3 kB / 0.5614 GB, free: 7.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.2049, allocations: 8.031 kB / 0.5614 GB, free: 7.512 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.888e-05/0.205, allocations: 0.9375 kB / 0.5614 GB, free: 7.512 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.2051, allocations: 164.4 kB / 0.5615 GB, free: 7.312 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.2051, allocations: 384 / 0.5615 GB, free: 7.312 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.2052, allocations: 12.31 kB / 0.5615 GB, free: 7.301 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.2053, allocations: 26.27 kB / 0.5616 GB, free: 7.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.2053, allocations: 192 / 0.5616 GB, free: 7.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.2053, allocations: 3.938 kB / 0.5616 GB, free: 7.266 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.2053, allocations: 0 / 0.5616 GB, free: 7.266 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.374e-05/0.2053, allocations: 4 kB / 0.5616 GB, free: 7.262 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001626/0.2055, allocations: 149.7 kB / 0.5617 GB, free: 7.066 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.702e-05/0.2056, allocations: 14.58 kB / 0.5617 GB, free: 7.043 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.955e-05/0.2056, allocations: 16.89 kB / 0.5617 GB, free: 7.023 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005487/0.2061, allocations: 429.4 kB / 0.5622 GB, free: 6.512 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.2062, allocations: 34.5 kB / 0.5622 GB, free: 6.469 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.2062, allocations: 0 / 0.5622 GB, free: 6.469 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001822/0.2064, allocations: 41.64 kB / 0.5622 GB, free: 6.422 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.2064, allocations: 51.41 kB / 0.5623 GB, free: 6.359 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.691e-05/0.2065, allocations: 89.86 kB / 0.5624 GB, free: 6.262 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.2065, allocations: 29.7 kB / 0.5624 GB, free: 6.227 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.2066, allocations: 80.14 kB / 0.5625 GB, free: 6.145 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.824e-05/0.2066, allocations: 3.984 kB / 0.5625 GB, free: 6.141 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.23e-05/0.2067, allocations: 9.719 kB / 0.5625 GB, free: 6.125 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.2068, allocations: 310.8 kB / 0.5628 GB, free: 5.812 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.358e-05/0.2068, allocations: 8.062 kB / 0.5628 GB, free: 5.805 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.837e-06/0.2068, allocations: 4 kB / 0.5628 GB, free: 5.801 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.148e-05/0.2068, allocations: 8.859 kB / 0.5628 GB, free: 5.789 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.2069, allocations: 0 / 0.5628 GB, free: 5.789 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.865e-05/0.2069, allocations: 33.7 kB / 0.5628 GB, free: 5.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.207, allocations: 4 kB / 0.5628 GB, free: 5.746 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.207, allocations: 0 / 0.5628 GB, free: 5.746 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.207, allocations: 7.922 kB / 0.5628 GB, free: 5.738 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.638e-05/0.207, allocations: 4 kB / 0.5628 GB, free: 5.734 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.2071, allocations: 4.094 kB / 0.5628 GB, free: 5.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.264e-05/0.2071, allocations: 3.906 kB / 0.5629 GB, free: 5.727 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.2071, allocations: 0 / 0.5629 GB, free: 5.727 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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 7.771e-05/0.2072, allocations: 109.8 kB / 0.563 GB, free: 5.609 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.988e-05/0.2072, allocations: 4 kB / 0.563 GB, free: 5.605 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.965e-05/0.2073, allocations: 48.75 kB / 0.563 GB, free: 5.555 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2073, allocations: 0 / 0.563 GB, free: 5.555 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2073, allocations: 8.016 kB / 0.563 GB, free: 5.547 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.2073, allocations: 0 / 0.563 GB, free: 5.547 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.621e-05/0.2074, allocations: 145.7 kB / 0.5632 GB, free: 5.355 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2074, allocations: 0 / 0.5632 GB, free: 5.355 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.306e-05/0.2074, allocations: 0 / 0.5632 GB, free: 5.355 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.2075, allocations: 0 / 0.5632 GB, free: 5.355 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.2075, allocations: 3.938 kB / 0.5632 GB, free: 5.352 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.2075, allocations: 3.984 kB / 0.5632 GB, free: 5.348 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2075, allocations: 4 kB / 0.5632 GB, free: 5.344 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.721e-05/0.2076, allocations: 61.08 kB / 0.5632 GB, free: 5.266 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.774e-05/0.2076, allocations: 81.05 kB / 0.5633 GB, free: 5.168 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.2076, allocations: 3.938 kB / 0.5633 GB, free: 5.164 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.963e-06/0.2076, allocations: 4 kB / 0.5633 GB, free: 5.16 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.569e-05/0.2077, allocations: 3.984 kB / 0.5633 GB, free: 5.156 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.2077, allocations: 0 / 0.5633 GB, free: 5.156 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.899e-05/0.2077, allocations: 79.22 kB / 0.5634 GB, free: 5.078 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2077, allocations: 0 / 0.5634 GB, free: 5.078 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001981/0.2079, allocations: 8.281 kB / 0.5634 GB, free: 5.07 MB / 430.1 MB 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): 1 * 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.0002231/0.2081, allocations: 123.2 kB / 0.5635 GB, free: 4.938 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 7.005e-05/0.2082, allocations: 4 kB / 0.5635 GB, free: 4.934 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2082, allocations: 4 kB / 0.5635 GB, free: 4.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.498e-06/0.2083, allocations: 7.922 kB / 0.5635 GB, free: 4.922 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.2084, allocations: 4 kB / 0.5635 GB, free: 4.918 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001792/0.2086, allocations: 70.77 kB / 0.5636 GB, free: 4.824 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.2088, allocations: 0.6733 MB / 0.5643 GB, free: 4.125 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.858e-05/0.2089, allocations: 4 kB / 0.5643 GB, free: 4.121 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.297e-05/0.2089, allocations: 7.438 kB / 0.5643 GB, free: 4.113 MB / 430.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2089, allocations: 0 / 0.5643 GB, free: 4.113 MB / 430.1 MB Notification: Performance of Templates: time 0.002578/0.2115, allocations: 444.5 kB / 0.5647 GB, free: 3.68 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)