Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001145/0.001145, allocations: 109.2 kB / 16.36 MB, free: 6.336 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.001039/0.001039, allocations: 193.5 kB / 17.29 MB, free: 5.883 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.236/1.236, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001995/0.001995, allocations: 291.4 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8839/0.8839, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 97.19 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1483, allocations: 86.97 MB / 0.6816 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001681/0.1501, allocations: 0.5875 MB / 0.6822 GB, free: 6.859 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006089/0.1507, allocations: 358.7 kB / 0.6825 GB, free: 6.508 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2e-05/0.1507, allocations: 0 / 0.6825 GB, free: 6.508 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.341e-05/0.1507, allocations: 0 / 0.6825 GB, free: 6.508 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 1.522e-05/0.1508, allocations: 0 / 0.6825 GB, free: 6.508 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004121/0.1512, allocations: 115.6 kB / 0.6826 GB, free: 6.395 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.15e-05/0.1512, allocations: 4 kB / 0.6826 GB, free: 6.391 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.851e-05/0.1513, allocations: 4 kB / 0.6826 GB, free: 6.387 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.818e-05/0.1513, allocations: 7.984 kB / 0.6827 GB, free: 6.379 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.5e-05/0.1513, allocations: 7.938 kB / 0.6827 GB, free: 6.371 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.1514, allocations: 0 / 0.6827 GB, free: 6.371 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003446/0.1517, allocations: 275.7 kB / 0.6829 GB, free: 6.102 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.507e-05/0.1517, allocations: 7.969 kB / 0.6829 GB, free: 6.094 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.461e-05/0.1518, allocations: 0 / 0.6829 GB, free: 6.094 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001572/0.1519, allocations: 95.8 kB / 0.683 GB, free: 6 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1519, allocations: 0 / 0.683 GB, free: 6 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1519, allocations: 0 / 0.683 GB, free: 6 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.1519, allocations: 0 / 0.683 GB, free: 6 MB / 494.1 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.0003358/0.1523, allocations: 347.5 kB / 0.6834 GB, free: 5.609 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.1523, allocations: 8.031 kB / 0.6834 GB, free: 5.602 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.254e-05/0.1524, allocations: 4.938 kB / 0.6834 GB, free: 5.598 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.518e-05/0.1525, allocations: 164.3 kB / 0.6835 GB, free: 5.398 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.1525, allocations: 384 / 0.6835 GB, free: 5.398 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.1525, allocations: 4.375 kB / 0.6835 GB, free: 5.395 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.404e-05/0.1526, allocations: 38.25 kB / 0.6836 GB, free: 5.352 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.1526, allocations: 4.188 kB / 0.6836 GB, free: 5.348 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.1526, allocations: 3.938 kB / 0.6836 GB, free: 5.344 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.1526, allocations: 0 / 0.6836 GB, free: 5.344 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.782e-05/0.1527, allocations: 3.938 kB / 0.6836 GB, free: 5.34 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001429/0.1528, allocations: 153.7 kB / 0.6837 GB, free: 5.141 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.412e-05/0.1529, allocations: 22.55 kB / 0.6837 GB, free: 5.109 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.879e-05/0.1529, allocations: 16.92 kB / 0.6838 GB, free: 5.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000669/0.1536, allocations: 461.4 kB / 0.6842 GB, free: 4.547 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.1536, allocations: 34.56 kB / 0.6842 GB, free: 4.504 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1536, allocations: 0 / 0.6842 GB, free: 4.504 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004391/0.1541, allocations: 254.2 kB / 0.6845 GB, free: 4.203 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.1541, allocations: 51.41 kB / 0.6845 GB, free: 4.141 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.823e-05/0.1542, allocations: 93.86 kB / 0.6846 GB, free: 4.039 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.1542, allocations: 26.05 kB / 0.6846 GB, free: 4.008 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.7e-05/0.1542, allocations: 84.14 kB / 0.6847 GB, free: 3.922 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.1542, allocations: 23.73 kB / 0.6847 GB, free: 3.898 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-05/0.1543, allocations: 13.72 kB / 0.6848 GB, free: 3.879 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.39e-05/0.1544, allocations: 314.8 kB / 0.6851 GB, free: 3.562 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.305e-05/0.1544, allocations: 4 kB / 0.6851 GB, free: 3.559 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.929e-05/0.1544, allocations: 25.7 kB / 0.6851 GB, free: 3.527 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.307e-05/0.1545, allocations: 29.66 kB / 0.6851 GB, free: 3.492 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1545, allocations: 4 kB / 0.6851 GB, free: 3.488 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.024e-05/0.1546, allocations: 53.62 kB / 0.6852 GB, free: 3.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.1546, allocations: 7.938 kB / 0.6852 GB, free: 3.422 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.1546, allocations: 0 / 0.6852 GB, free: 3.422 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.1546, allocations: 4 kB / 0.6852 GB, free: 3.418 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.296e-05/0.1547, allocations: 8 kB / 0.6852 GB, free: 3.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.1547, allocations: 0 / 0.6852 GB, free: 3.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.582e-05/0.1547, allocations: 4.062 kB / 0.6852 GB, free: 3.406 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.1547, allocations: 4 kB / 0.6852 GB, free: 3.402 MB / 494.1 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 7.077e-05/0.1548, allocations: 113.8 kB / 0.6853 GB, free: 3.281 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.1548, allocations: 3.938 kB / 0.6853 GB, free: 3.277 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.155, allocations: 61.25 kB / 0.6854 GB, free: 3.207 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.155, allocations: 0 / 0.6854 GB, free: 3.207 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.155, allocations: 0 / 0.6854 GB, free: 3.207 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.165e-06/0.155, allocations: 0 / 0.6854 GB, free: 3.207 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.463e-05/0.1551, allocations: 157.7 kB / 0.6855 GB, free: 3.004 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1551, allocations: 0 / 0.6855 GB, free: 3.004 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.778e-05/0.1551, allocations: 4 kB / 0.6855 GB, free: 3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.1552, allocations: 3.938 kB / 0.6855 GB, free: 2.996 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.1552, allocations: 7.922 kB / 0.6855 GB, free: 2.988 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1552, allocations: 4 kB / 0.6855 GB, free: 2.984 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1552, allocations: 0 / 0.6855 GB, free: 2.984 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.1553, allocations: 73.12 kB / 0.6856 GB, free: 2.895 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.868e-05/0.1554, allocations: 85.08 kB / 0.6857 GB, free: 2.793 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.1554, allocations: 7.875 kB / 0.6857 GB, free: 2.785 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.734e-05/0.1554, allocations: 4.031 kB / 0.6857 GB, free: 2.781 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.349e-05/0.1554, allocations: 3.984 kB / 0.6857 GB, free: 2.777 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.1554, allocations: 0 / 0.6857 GB, free: 2.777 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.117e-05/0.1555, allocations: 83.28 kB / 0.6858 GB, free: 2.695 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.282e-06/0.1555, allocations: 0 / 0.6858 GB, free: 2.695 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001988/0.1557, allocations: 27.94 kB / 0.6858 GB, free: 2.668 MB / 494.1 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.0001797/0.1559, allocations: 131.3 kB / 0.6859 GB, free: 2.527 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.366e-05/0.156, allocations: 19.98 kB / 0.6859 GB, free: 2.508 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.156, allocations: 0 / 0.6859 GB, free: 2.508 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.593e-05/0.156, allocations: 7.938 kB / 0.686 GB, free: 2.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.1561, allocations: 5.125 kB / 0.686 GB, free: 2.496 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002162/0.1563, allocations: 109.6 kB / 0.6861 GB, free: 2.363 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002145/0.1566, allocations: 0.6768 MB / 0.6867 GB, free: 1.66 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.461e-05/0.1566, allocations: 4.125 kB / 0.6867 GB, free: 1.656 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.423e-05/0.1566, allocations: 11.44 kB / 0.6867 GB, free: 1.645 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1566, allocations: 0 / 0.6867 GB, free: 1.645 MB / 494.1 MB Notification: Performance of Templates: time 0.002749/0.1594, allocations: 0.8915 MB / 0.6876 GB, free: 0.7891 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)