Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 173 kB / 23.02 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9265/0.9265, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001673/0.001673, allocations: 237.9 kB / 260.2 MB, free: 12.81 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7488/0.7488, allocations: 138.4 MB / 455.2 MB, free: 1.484 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.5552 GB, free: 412 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.253e-05/2.456e-05, allocations: 6.25 kB / 0.5552 GB, free: 404 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001302/0.001326, allocations: 0.6389 MB / 0.5558 GB, free: 15.76 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004784/0.001805, allocations: 318.8 kB / 0.5561 GB, free: 15.45 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.234e-05/0.001827, allocations: 0 / 0.5561 GB, free: 15.45 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.886e-05/0.001846, allocations: 3.938 kB / 0.5561 GB, free: 15.44 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.468e-05/0.001881, allocations: 0 / 0.5561 GB, free: 15.44 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003702/0.002251, allocations: 123.6 kB / 0.5562 GB, free: 15.32 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.609e-05/0.002307, allocations: 19.92 kB / 0.5563 GB, free: 15.3 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.505e-05/0.002342, allocations: 8 kB / 0.5563 GB, free: 15.29 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.954e-05/0.002391, allocations: 11.97 kB / 0.5563 GB, free: 15.28 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.646e-05/0.002438, allocations: 11.98 kB / 0.5563 GB, free: 15.27 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.002452, allocations: 4 kB / 0.5563 GB, free: 15.27 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002548/0.002707, allocations: 263.6 kB / 0.5565 GB, free: 15.01 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.002722, allocations: 11.88 kB / 0.5565 GB, free: 15 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.773e-05/0.00274, allocations: 4 kB / 0.5566 GB, free: 14.99 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.002918, allocations: 127.7 kB / 0.5567 GB, free: 14.87 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.002921, allocations: 7.984 kB / 0.5567 GB, free: 14.86 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.002923, allocations: 0 / 0.5567 GB, free: 14.86 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.002927, allocations: 3.938 kB / 0.5567 GB, free: 14.86 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003557/0.003283, allocations: 384.4 kB / 0.5571 GB, free: 14.44 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.003321, allocations: 8.75 kB / 0.5571 GB, free: 14.43 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.325e-05/0.003404, allocations: 8.938 kB / 0.5571 GB, free: 14.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.994e-05/0.003494, allocations: 116.5 kB / 0.5572 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.003507, allocations: 8.375 kB / 0.5572 GB, free: 14.28 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.003528, allocations: 8.312 kB / 0.5572 GB, free: 14.27 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.003637, allocations: 93.66 kB / 0.5573 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.003647, allocations: 4.188 kB / 0.5573 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.003658, allocations: 384 / 0.5573 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.003668, allocations: 8.359 kB / 0.5573 GB, free: 14.15 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.394e-05/0.003702, allocations: 23.91 kB / 0.5573 GB, free: 14.12 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001368/0.003839, allocations: 124.6 kB / 0.5574 GB, free: 13.97 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.512e-05/0.003934, allocations: 58.98 kB / 0.5575 GB, free: 13.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.136e-05/0.003965, allocations: 27.67 kB / 0.5575 GB, free: 13.87 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002988/0.004264, allocations: 79.92 kB / 0.5576 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.004285, allocations: 37.39 kB / 0.5576 GB, free: 13.74 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.004287, allocations: 0 / 0.5576 GB, free: 13.74 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007976/0.005084, allocations: 456.7 kB / 0.5581 GB, free: 13.23 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.005113, allocations: 55.41 kB / 0.5581 GB, free: 13.17 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.589e-05/0.005179, allocations: 161.9 kB / 0.5583 GB, free: 12.99 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.005189, allocations: 25.7 kB / 0.5583 GB, free: 12.96 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.31e-05/0.005222, allocations: 130.8 kB / 0.5584 GB, free: 12.83 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.055e-05/0.005252, allocations: 39.69 kB / 0.5585 GB, free: 12.79 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.382e-05/0.005286, allocations: 31.33 kB / 0.5585 GB, free: 12.75 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.005391, allocations: 0.4923 MB / 0.559 GB, free: 12.25 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.707e-05/0.005418, allocations: 15.94 kB / 0.559 GB, free: 12.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.158e-05/0.005439, allocations: 19.98 kB / 0.559 GB, free: 12.21 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.806e-05/0.005497, allocations: 47.69 kB / 0.5591 GB, free: 12.16 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.005498, allocations: 4 kB / 0.5591 GB, free: 12.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000109/0.005607, allocations: 85.67 kB / 0.5591 GB, free: 12.07 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.00562, allocations: 8 kB / 0.5591 GB, free: 12.06 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.005624, allocations: 0 / 0.5591 GB, free: 12.06 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.005636, allocations: 7.875 kB / 0.5592 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.817e-05/0.005714, allocations: 27.92 kB / 0.5592 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.005725, allocations: 4 kB / 0.5592 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.271e-05/0.005738, allocations: 0 / 0.5592 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.005745, allocations: 8 kB / 0.5592 GB, free: 12.01 MB / 490.7 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 (13): * Single equations (assignments): 13 * 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.281e-05/0.005808, allocations: 156.6 kB / 0.5593 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.103e-05/0.005829, allocations: 15.95 kB / 0.5594 GB, free: 11.83 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001292/0.005958, allocations: 97.72 kB / 0.5595 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.005961, allocations: 3.938 kB / 0.5595 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.005964, allocations: 0 / 0.5595 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.005967, allocations: 0 / 0.5595 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002647/0.006231, allocations: 341.6 kB / 0.5598 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.006233, allocations: 0 / 0.5598 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.085e-05/0.006304, allocations: 27.92 kB / 0.5598 GB, free: 11.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.006307, allocations: 3.938 kB / 0.5598 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.006315, allocations: 4 kB / 0.5598 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.006316, allocations: 0 / 0.5598 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.006318, allocations: 4 kB / 0.5598 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.00649, allocations: 255.8 kB / 0.5601 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.119e-05/0.006511, allocations: 16.12 kB / 0.5601 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.006523, allocations: 7.938 kB / 0.5601 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.6e-05/0.006559, allocations: 4 kB / 0.5601 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.898e-05/0.006578, allocations: 7.969 kB / 0.5601 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.006584, allocations: 8 kB / 0.5601 GB, free: 11 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.066e-05/0.006615, allocations: 123.2 kB / 0.5602 GB, free: 10.88 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006615, allocations: 0 / 0.5602 GB, free: 10.88 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000186/0.006801, allocations: 47.86 kB / 0.5603 GB, free: 10.84 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0001644/0.006965, allocations: 147.1 kB / 0.5604 GB, free: 10.68 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001059/0.007071, allocations: 59.16 kB / 0.5605 GB, free: 10.62 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.007073, allocations: 0 / 0.5605 GB, free: 10.62 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.988e-05/0.007103, allocations: 39.61 kB / 0.5605 GB, free: 10.58 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.007245, allocations: 7.938 kB / 0.5605 GB, free: 10.57 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002619/0.007507, allocations: 172.5 kB / 0.5607 GB, free: 10.38 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.193e-05/0.007539, allocations: 59.36 kB / 0.5607 GB, free: 10.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.579e-05/0.007575, allocations: 11.98 kB / 0.5607 GB, free: 10.29 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.242e-05/0.007597, allocations: 16.5 kB / 0.5608 GB, free: 10.27 MB / 490.7 MB Notification: Performance of SimCode: time 7.52e-07/0.007598, allocations: 0 / 0.5608 GB, free: 10.27 MB / 490.7 MB Notification: Performance of Templates: time 0.003013/0.01061, allocations: 1.599 MB / 0.5623 GB, free: 8.715 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6174048390239477]