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.001657/0.001657, allocations: 93.06 kB / 19.65 MB, free: 280 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.002036/0.002036, allocations: 165 kB / 23.02 MB, free: 1.555 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.9535/0.9535, allocations: 177.1 MB / 203.4 MB, free: 5.18 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.001686/0.001686, allocations: 233.2 kB / 260.2 MB, free: 12.68 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.7252/0.7252, allocations: 138.4 MB / 455.2 MB, free: 1.531 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 1.403e-06/1.403e-06, allocations: 0 / 0.5552 GB, free: 464 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.979e-05/2.119e-05, allocations: 2.312 kB / 0.5552 GB, free: 460 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001121/0.001142, allocations: 0.6313 MB / 0.5558 GB, free: 15.82 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004764/0.001619, allocations: 318.8 kB / 0.5561 GB, free: 15.5 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.305e-05/0.001642, allocations: 4 kB / 0.5561 GB, free: 15.5 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.793e-05/0.00166, allocations: 3.938 kB / 0.5561 GB, free: 15.5 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.728e-05/0.001687, allocations: 3.938 kB / 0.5561 GB, free: 15.49 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003647/0.002052, allocations: 123.5 kB / 0.5562 GB, free: 15.37 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.291e-05/0.002105, allocations: 19.98 kB / 0.5562 GB, free: 15.35 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.653e-05/0.002141, allocations: 0 / 0.5562 GB, free: 15.35 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.046e-05/0.002192, allocations: 23.91 kB / 0.5563 GB, free: 15.33 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.734e-05/0.002239, allocations: 7.984 kB / 0.5563 GB, free: 15.32 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.002253, allocations: 4 kB / 0.5563 GB, free: 15.32 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002518/0.002505, allocations: 259.6 kB / 0.5565 GB, free: 15.06 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.00252, allocations: 7.984 kB / 0.5565 GB, free: 15.05 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.083e-05/0.002541, allocations: 15.92 kB / 0.5565 GB, free: 15.04 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.002706, allocations: 127.7 kB / 0.5567 GB, free: 14.91 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.002708, allocations: 0 / 0.5567 GB, free: 14.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.002709, allocations: 0 / 0.5567 GB, free: 14.91 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.002712, allocations: 0 / 0.5567 GB, free: 14.91 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.0003431/0.003055, allocations: 384.4 kB / 0.557 GB, free: 14.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.00309, allocations: 8.75 kB / 0.557 GB, free: 14.49 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.973e-05/0.003169, allocations: 12.94 kB / 0.5571 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.187e-05/0.003241, allocations: 120.5 kB / 0.5572 GB, free: 14.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.003251, allocations: 384 / 0.5572 GB, free: 14.34 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.003275, allocations: 12.36 kB / 0.5572 GB, free: 14.32 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.003381, allocations: 101.6 kB / 0.5573 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.00339, allocations: 192 / 0.5573 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.003399, allocations: 384 / 0.5573 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.003406, allocations: 4.312 kB / 0.5573 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.438e-05/0.00344, allocations: 19.92 kB / 0.5573 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001236/0.003564, allocations: 128.6 kB / 0.5574 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.073e-05/0.003655, allocations: 70.97 kB / 0.5575 GB, free: 13.94 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.786e-05/0.003683, allocations: 19.69 kB / 0.5575 GB, free: 13.92 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003036/0.003986, allocations: 75.92 kB / 0.5576 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.004008, allocations: 37.38 kB / 0.5576 GB, free: 13.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 8.22e-07/0.004009, allocations: 4 kB / 0.5576 GB, free: 13.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008033/0.004812, allocations: 460.4 kB / 0.5581 GB, free: 13.28 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.322e-05/0.004836, allocations: 55.39 kB / 0.5581 GB, free: 13.21 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.95e-05/0.004895, allocations: 153.9 kB / 0.5583 GB, free: 13.05 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.004906, allocations: 29.7 kB / 0.5583 GB, free: 13.01 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.221e-05/0.004939, allocations: 135 kB / 0.5584 GB, free: 12.88 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.00497, allocations: 39.67 kB / 0.5585 GB, free: 12.84 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.005005, allocations: 39.33 kB / 0.5585 GB, free: 12.79 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.795e-05/0.005103, allocations: 0.4884 MB / 0.559 GB, free: 12.29 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.66e-05/0.005129, allocations: 15.98 kB / 0.559 GB, free: 12.27 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.189e-05/0.005151, allocations: 12 kB / 0.559 GB, free: 12.26 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.967e-05/0.005211, allocations: 47.67 kB / 0.559 GB, free: 12.21 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.005211, allocations: 0 / 0.559 GB, free: 12.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001109/0.005322, allocations: 89.62 kB / 0.5591 GB, free: 12.12 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.005334, allocations: 4 kB / 0.5591 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.005338, allocations: 0 / 0.5591 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.005354, allocations: 3.938 kB / 0.5591 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.592e-05/0.00543, allocations: 31.98 kB / 0.5592 GB, free: 12.08 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.005435, allocations: 0 / 0.5592 GB, free: 12.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.224e-05/0.005448, allocations: 0 / 0.5592 GB, free: 12.08 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.005454, allocations: 4 kB / 0.5592 GB, free: 12.07 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.132e-05/0.005516, allocations: 160.6 kB / 0.5593 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.005537, allocations: 19.88 kB / 0.5593 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001204/0.005658, allocations: 97.73 kB / 0.5594 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.00566, allocations: 3.938 kB / 0.5594 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.005664, allocations: 0 / 0.5594 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.005667, allocations: 4.188 kB / 0.5594 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.005926, allocations: 341.6 kB / 0.5598 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.005928, allocations: 3.938 kB / 0.5598 GB, free: 11.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.608e-05/0.005994, allocations: 27.98 kB / 0.5598 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.005999, allocations: 7.922 kB / 0.5598 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.006005, allocations: 0 / 0.5598 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.006006, allocations: 0 / 0.5598 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.006006, allocations: 0 / 0.5598 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.006175, allocations: 251.8 kB / 0.56 GB, free: 11.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.779e-05/0.006193, allocations: 15.94 kB / 0.5601 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.006204, allocations: 7.938 kB / 0.5601 GB, free: 11.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.723e-05/0.006241, allocations: 4 kB / 0.5601 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.763e-05/0.006259, allocations: 12.02 kB / 0.5601 GB, free: 11.06 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.006265, allocations: 4 kB / 0.5601 GB, free: 11.06 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.932e-05/0.006294, allocations: 123.2 kB / 0.5602 GB, free: 10.94 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006294, allocations: 0 / 0.5602 GB, free: 10.94 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000176/0.00647, allocations: 51.81 kB / 0.5603 GB, free: 10.89 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.0001583/0.006629, allocations: 139.2 kB / 0.5604 GB, free: 10.74 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001078/0.006736, allocations: 63.47 kB / 0.5605 GB, free: 10.68 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.006738, allocations: 0 / 0.5605 GB, free: 10.68 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.99e-05/0.006768, allocations: 35.67 kB / 0.5605 GB, free: 10.64 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/0.006914, allocations: 15.61 kB / 0.5605 GB, free: 10.63 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000468/0.007382, allocations: 180.5 kB / 0.5607 GB, free: 10.43 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.153e-05/0.007414, allocations: 59.34 kB / 0.5607 GB, free: 10.35 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.33e-05/0.007447, allocations: 8 kB / 0.5607 GB, free: 10.34 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.259e-05/0.00747, allocations: 12.5 kB / 0.5607 GB, free: 10.33 MB / 490.7 MB Notification: Performance of SimCode: time 6.91e-07/0.00747, allocations: 0 / 0.5607 GB, free: 10.33 MB / 490.7 MB Notification: Performance of Templates: time 0.002743/0.01021, allocations: 1.436 MB / 0.5622 GB, free: 8.941 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.8398365820758045]