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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8991/0.8991, allocations: 143.4 MB / 159.2 MB, free: 4.805 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 180.5 kB / 191.9 MB, free: 5.699 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 447.3 MB, free: 5.855 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 103.3 kB / 0.517 GB, free: 3.703 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001901/0.001901, allocations: 282.6 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 95.86 kB / 0.6886 GB, free: 3.816 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3293, allocations: 81.28 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001575/0.331, allocations: 0.6521 MB / 0.7686 GB, free: 27.01 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005473/0.3315, allocations: 372.8 kB / 0.7689 GB, free: 26.64 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.271e-05/0.3316, allocations: 0 / 0.7689 GB, free: 26.64 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.304e-05/0.3316, allocations: 0 / 0.7689 GB, free: 26.64 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 2.202e-05/0.3316, allocations: 0 / 0.7689 GB, free: 26.64 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003188/0.3319, allocations: 82.22 kB / 0.769 GB, free: 26.57 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 4.583e-05/0.332, allocations: 4 kB / 0.769 GB, free: 26.56 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.559e-05/0.332, allocations: 3.938 kB / 0.769 GB, free: 26.56 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.726e-05/0.3321, allocations: 15.92 kB / 0.769 GB, free: 26.54 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.589e-05/0.3321, allocations: 7.922 kB / 0.7691 GB, free: 26.54 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.3321, allocations: 0 / 0.7691 GB, free: 26.54 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002876/0.3324, allocations: 275.7 kB / 0.7693 GB, free: 26.27 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.348e-05/0.3324, allocations: 0 / 0.7693 GB, free: 26.27 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.283e-05/0.3325, allocations: 7.984 kB / 0.7693 GB, free: 26.26 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.3326, allocations: 95.78 kB / 0.7694 GB, free: 26.16 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3326, allocations: 0 / 0.7694 GB, free: 26.16 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.3326, allocations: 0 / 0.7694 GB, free: 26.16 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.3327, allocations: 0 / 0.7694 GB, free: 26.16 MB / 458.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.0003269/0.333, allocations: 339.6 kB / 0.7697 GB, free: 25.78 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.333, allocations: 8.031 kB / 0.7697 GB, free: 25.77 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.089e-05/0.3331, allocations: 0.9375 kB / 0.7697 GB, free: 25.77 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.504e-05/0.3332, allocations: 171 kB / 0.7699 GB, free: 25.57 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.3332, allocations: 384 / 0.7699 GB, free: 25.57 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.3332, allocations: 4.281 kB / 0.7699 GB, free: 25.57 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.544e-05/0.3333, allocations: 38.27 kB / 0.7699 GB, free: 25.52 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.3334, allocations: 192 / 0.7699 GB, free: 25.52 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.3334, allocations: 7.938 kB / 0.77 GB, free: 25.52 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.3334, allocations: 0 / 0.77 GB, free: 25.52 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.045e-05/0.3334, allocations: 3.938 kB / 0.77 GB, free: 25.51 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001483/0.3336, allocations: 153.7 kB / 0.7701 GB, free: 25.31 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.408e-05/0.3336, allocations: 22.59 kB / 0.7701 GB, free: 25.28 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.642e-05/0.3336, allocations: 12.92 kB / 0.7701 GB, free: 25.27 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000635/0.3343, allocations: 457.4 kB / 0.7706 GB, free: 24.73 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.3343, allocations: 38.56 kB / 0.7706 GB, free: 24.68 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.123e-06/0.3343, allocations: 0 / 0.7706 GB, free: 24.68 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005273/0.3349, allocations: 254.4 kB / 0.7709 GB, free: 24.38 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.3349, allocations: 51.41 kB / 0.7709 GB, free: 24.32 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.628e-05/0.3349, allocations: 101.8 kB / 0.771 GB, free: 24.21 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.437e-06/0.335, allocations: 26.05 kB / 0.771 GB, free: 24.18 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.696e-05/0.335, allocations: 84.14 kB / 0.7711 GB, free: 24.09 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.335, allocations: 15.75 kB / 0.7711 GB, free: 24.07 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.3351, allocations: 13.72 kB / 0.7711 GB, free: 24.05 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.58e-05/0.3351, allocations: 326.8 kB / 0.7714 GB, free: 23.73 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.064e-05/0.3351, allocations: 0 / 0.7714 GB, free: 23.73 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.381e-05/0.3352, allocations: 21.72 kB / 0.7715 GB, free: 23.7 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.976e-05/0.3352, allocations: 25.72 kB / 0.7715 GB, free: 23.67 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3352, allocations: 0 / 0.7715 GB, free: 23.67 MB / 458.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.276e-05/0.3353, allocations: 53.62 kB / 0.7715 GB, free: 23.61 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3353, allocations: 7.938 kB / 0.7716 GB, free: 23.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3353, allocations: 4 kB / 0.7716 GB, free: 23.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.3354, allocations: 3.938 kB / 0.7716 GB, free: 23.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.375e-05/0.3354, allocations: 7.984 kB / 0.7716 GB, free: 23.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.3354, allocations: 4 kB / 0.7716 GB, free: 23.58 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.891e-05/0.3355, allocations: 4 kB / 0.7716 GB, free: 23.58 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.3355, allocations: 4.062 kB / 0.7716 GB, free: 23.57 MB / 458.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 5.954e-05/0.3356, allocations: 117.8 kB / 0.7717 GB, free: 23.45 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.3356, allocations: 3.938 kB / 0.7717 GB, free: 23.45 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.3357, allocations: 49.19 kB / 0.7717 GB, free: 23.39 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3357, allocations: 0 / 0.7717 GB, free: 23.39 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.3357, allocations: 3.984 kB / 0.7717 GB, free: 23.39 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3357, allocations: 0 / 0.7717 GB, free: 23.39 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.852e-05/0.3358, allocations: 157.7 kB / 0.7719 GB, free: 23.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3358, allocations: 4 kB / 0.7719 GB, free: 23.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.769e-05/0.3359, allocations: 4 kB / 0.7719 GB, free: 23.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3359, allocations: 3.938 kB / 0.7719 GB, free: 23.17 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.3359, allocations: 0 / 0.7719 GB, free: 23.17 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3359, allocations: 0 / 0.7719 GB, free: 23.17 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3359, allocations: 3.938 kB / 0.7719 GB, free: 23.17 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006703/0.3366, allocations: 0.8996 MB / 0.7728 GB, free: 22.13 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.264e-05/0.3366, allocations: 81.09 kB / 0.7729 GB, free: 22.03 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.274e-06/0.3366, allocations: 3.984 kB / 0.7729 GB, free: 22.03 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.724e-05/0.3367, allocations: 0 / 0.7729 GB, free: 22.03 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.967e-05/0.3367, allocations: 7.969 kB / 0.7729 GB, free: 22.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.3367, allocations: 8.125 kB / 0.7729 GB, free: 22.01 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.011e-05/0.3367, allocations: 79.28 kB / 0.773 GB, free: 21.93 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3367, allocations: 0 / 0.773 GB, free: 21.93 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002705/0.337, allocations: 23.98 kB / 0.773 GB, free: 21.91 MB / 458.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.0002006/0.3372, allocations: 123.8 kB / 0.7731 GB, free: 21.78 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 7.513e-05/0.3373, allocations: 23.92 kB / 0.7731 GB, free: 21.76 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3373, allocations: 0 / 0.7731 GB, free: 21.76 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.546e-05/0.3373, allocations: 16.16 kB / 0.7731 GB, free: 21.74 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.3375, allocations: 7.938 kB / 0.7731 GB, free: 21.73 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002419/0.3377, allocations: 218.2 kB / 0.7734 GB, free: 21.48 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.4e-05/0.3378, allocations: 0.6809 MB / 0.774 GB, free: 20.77 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.09e-05/0.3379, allocations: 4 kB / 0.774 GB, free: 20.77 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.218e-05/0.3379, allocations: 7.438 kB / 0.774 GB, free: 20.76 MB / 458.7 MB Notification: Performance of SimCode: time 2e-07/0.3379, allocations: 4 kB / 0.774 GB, free: 20.76 MB / 458.7 MB Notification: Performance of Templates: time 0.002608/0.3405, allocations: 0.8736 MB / 0.7749 GB, free: 19.92 MB / 458.7 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)