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.004837/0.004837, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001142/0.001142, allocations: 191.3 kB / 16.67 MB, free: 5.523 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002057/0.002057, allocations: 290.3 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9438/0.9438, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 99.78 kB / 0.6815 GB, free: 6.895 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4056/0.4075, allocations: 86.97 MB / 0.7664 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001668/0.4092, allocations: 0.5938 MB / 0.767 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006334/0.4099, allocations: 338.8 kB / 0.7673 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.369e-05/0.4099, allocations: 3.938 kB / 0.7673 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.646e-05/0.4099, allocations: 0 / 0.7673 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 1.959e-05/0.41, allocations: 3.938 kB / 0.7673 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004946/0.4105, allocations: 111.7 kB / 0.7674 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.969e-05/0.4105, allocations: 15.98 kB / 0.7675 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.714e-05/0.4106, allocations: 0 / 0.7675 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.693e-05/0.4106, allocations: 4 kB / 0.7675 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.616e-05/0.4106, allocations: 3.984 kB / 0.7675 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.4107, allocations: 0 / 0.7675 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000361/0.411, allocations: 279.6 kB / 0.7677 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.411, allocations: 3.938 kB / 0.7677 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.044e-05/0.4111, allocations: 11.94 kB / 0.7678 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.4113, allocations: 99.77 kB / 0.7678 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.4113, allocations: 0 / 0.7678 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.312e-06/0.4113, allocations: 0 / 0.7678 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.4113, allocations: 0 / 0.7678 GB, free: 2.457 MB / 0.5294 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.0003406/0.4116, allocations: 339.2 kB / 0.7682 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.4117, allocations: 12.03 kB / 0.7682 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.668e-05/0.4117, allocations: 0.9375 kB / 0.7682 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.4118, allocations: 168.3 kB / 0.7683 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.4119, allocations: 384 / 0.7683 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.4119, allocations: 8.359 kB / 0.7684 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.321e-05/0.412, allocations: 34.27 kB / 0.7684 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.412, allocations: 192 / 0.7684 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.412, allocations: 3.938 kB / 0.7684 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.412, allocations: 0 / 0.7684 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.176e-05/0.412, allocations: 7.938 kB / 0.7684 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001554/0.4122, allocations: 153.7 kB / 0.7685 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.483e-05/0.4123, allocations: 26.52 kB / 0.7686 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.846e-05/0.4123, allocations: 12.84 kB / 0.7686 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006912/0.413, allocations: 453.5 kB / 0.769 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.413, allocations: 34.56 kB / 0.769 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.413, allocations: 0 / 0.769 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005012/0.4135, allocations: 254.3 kB / 0.7693 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.4136, allocations: 51.41 kB / 0.7693 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.491e-05/0.4136, allocations: 97.84 kB / 0.7694 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.4137, allocations: 30.05 kB / 0.7695 GB, free: 484 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.619e-05/0.4137, allocations: 84.14 kB / 0.7695 GB, free: 396 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.4137, allocations: 7.812 kB / 0.7695 GB, free: 388 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.4138, allocations: 17.72 kB / 0.7696 GB, free: 364 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.4139, allocations: 318.8 kB / 0.7699 GB, free: 36 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.602e-05/0.4139, allocations: 4 kB / 0.7699 GB, free: 32 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.125e-05/0.4139, allocations: 17.72 kB / 0.7699 GB, free: 8 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.802e-05/0.414, allocations: 37.64 kB / 0.7699 GB, free: 15.96 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.414, allocations: 0 / 0.7699 GB, free: 15.96 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001043/0.4141, allocations: 49.64 kB / 0.77 GB, free: 15.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.4142, allocations: 7.938 kB / 0.77 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.4142, allocations: 0 / 0.77 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.4142, allocations: 4 kB / 0.77 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.794e-05/0.4142, allocations: 7.984 kB / 0.77 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.4143, allocations: 4 kB / 0.77 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.022e-05/0.4143, allocations: 4 kB / 0.77 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.4143, allocations: 8.047 kB / 0.77 GB, free: 15.88 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.938e-05/0.4144, allocations: 114.8 kB / 0.7701 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.4144, allocations: 7.938 kB / 0.7701 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.4145, allocations: 53.12 kB / 0.7702 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.4145, allocations: 4.172 kB / 0.7702 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.4145, allocations: 0 / 0.7702 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4146, allocations: 3.984 kB / 0.7702 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.4147, allocations: 157.7 kB / 0.7703 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4147, allocations: 0 / 0.7703 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.009e-05/0.4147, allocations: 4 kB / 0.7703 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.4147, allocations: 7.938 kB / 0.7703 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-06/0.4147, allocations: 0 / 0.7703 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4148, allocations: 0 / 0.7703 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.4148, allocations: 3.938 kB / 0.7703 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.4149, allocations: 80.97 kB / 0.7704 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.838e-05/0.4149, allocations: 89.19 kB / 0.7705 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.415, allocations: 3.938 kB / 0.7705 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.703e-05/0.415, allocations: 0 / 0.7705 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.483e-05/0.415, allocations: 4 kB / 0.7705 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.415, allocations: 4 kB / 0.7705 GB, free: 15.25 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.933e-05/0.4151, allocations: 75.28 kB / 0.7706 GB, free: 15.18 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4151, allocations: 0 / 0.7706 GB, free: 15.18 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002088/0.4153, allocations: 27.98 kB / 0.7706 GB, free: 15.15 MB / 0.545 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 (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.0001998/0.4155, allocations: 131.3 kB / 0.7707 GB, free: 15.01 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.502e-05/0.4156, allocations: 19.94 kB / 0.7708 GB, free: 14.99 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.4156, allocations: 3.938 kB / 0.7708 GB, free: 14.98 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.474e-05/0.4156, allocations: 4 kB / 0.7708 GB, free: 14.98 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.4158, allocations: 11.98 kB / 0.7708 GB, free: 14.97 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002514/0.416, allocations: 105.9 kB / 0.7709 GB, free: 14.84 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.4163, allocations: 0.6729 MB / 0.7715 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.05e-05/0.4163, allocations: 8.125 kB / 0.7715 GB, free: 14.13 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.548e-05/0.4163, allocations: 7.438 kB / 0.7716 GB, free: 14.12 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.4163, allocations: 0 / 0.7716 GB, free: 14.12 MB / 0.545 GB Notification: Performance of Templates: time 0.002932/0.4193, allocations: 0.8866 MB / 0.7724 GB, free: 13.27 MB / 0.545 GB 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)