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.001326/0.001326, allocations: 79.5 kB / 19.76 MB, free: 2.031 MB / 14.72 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.001512/0.001512, allocations: 162.9 kB / 23.01 MB, free: 4.949 MB / 14.72 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 1.359/1.359, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 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.002351/0.002351, allocations: 241 kB / 260 MB, free: 428 kB / 238.1 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.8831/0.8831, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002998/0.002998, allocations: 102.2 kB / 0.6474 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.3708, allocations: 95.34 MB / 0.7405 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.00163/0.3725, allocations: 0.6292 MB / 0.7411 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0006238/0.3731, allocations: 312.7 kB / 0.7414 GB, free: 16.85 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.725e-05/0.3731, allocations: 0.9375 kB / 0.7414 GB, free: 16.85 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.748e-05/0.3731, allocations: 0 / 0.7414 GB, free: 16.85 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 2.255e-05/0.3732, allocations: 3.938 kB / 0.7414 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004458/0.3736, allocations: 122.6 kB / 0.7415 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 6.139e-05/0.3737, allocations: 26.95 kB / 0.7416 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.854e-05/0.3737, allocations: 3.281 kB / 0.7416 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.432e-05/0.3737, allocations: 10.97 kB / 0.7416 GB, free: 16.78 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 4.755e-05/0.3738, allocations: 13.61 kB / 0.7416 GB, free: 16.77 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.3738, allocations: 2.531 kB / 0.7416 GB, free: 16.77 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003788/0.3742, allocations: 261.2 kB / 0.7418 GB, free: 16.72 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.3742, allocations: 6.641 kB / 0.7418 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.023e-05/0.3742, allocations: 13.83 kB / 0.7419 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.3744, allocations: 96.7 kB / 0.7419 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.3744, allocations: 5.344 kB / 0.742 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3744, allocations: 4 kB / 0.742 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.3744, allocations: 0 / 0.742 GB, free: 16.68 MB / 0.5919 GB 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.0003188/0.3747, allocations: 287.8 kB / 0.7422 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.3747, allocations: 11.84 kB / 0.7422 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.301e-05/0.3748, allocations: 7.172 kB / 0.7423 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.593e-05/0.3749, allocations: 106.5 kB / 0.7424 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.3749, allocations: 5.656 kB / 0.7424 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.3749, allocations: 3.312 kB / 0.7424 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.375, allocations: 107.1 kB / 0.7425 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.375, allocations: 1.25 kB / 0.7425 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.375, allocations: 7.875 kB / 0.7425 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.375, allocations: 5.062 kB / 0.7425 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.707e-05/0.3751, allocations: 18.5 kB / 0.7425 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001044/0.3752, allocations: 119.3 kB / 0.7426 GB, free: 16 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.781e-05/0.3753, allocations: 54.94 kB / 0.7427 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.654e-05/0.3753, allocations: 28.08 kB / 0.7427 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00051/0.3758, allocations: 80.56 kB / 0.7428 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.3759, allocations: 36.78 kB / 0.7428 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.3759, allocations: 0 / 0.7428 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.001034/0.3769, allocations: 452.6 kB / 0.7432 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.582e-05/0.3769, allocations: 52.66 kB / 0.7433 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.101e-05/0.377, allocations: 105.2 kB / 0.7434 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/0.377, allocations: 29.64 kB / 0.7434 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 1.498e-05/0.377, allocations: 88.83 kB / 0.7435 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.377, allocations: 43.67 kB / 0.7435 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/0.377, allocations: 28.42 kB / 0.7436 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.463e-05/0.3771, allocations: 313.6 kB / 0.7439 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.994e-05/0.3771, allocations: 23.52 kB / 0.7439 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.532e-05/0.3772, allocations: 24.08 kB / 0.7439 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.773e-05/0.3772, allocations: 55.66 kB / 0.744 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.3772, allocations: 0 / 0.744 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001354/0.3774, allocations: 99.92 kB / 0.7441 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.3774, allocations: 16.78 kB / 0.7441 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3774, allocations: 1.875 kB / 0.7441 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.3774, allocations: 0 / 0.7441 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.546e-05/0.3775, allocations: 22.08 kB / 0.7441 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.3775, allocations: 3.984 kB / 0.7441 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.299e-05/0.3775, allocations: 1.797 kB / 0.7441 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.3775, allocations: 3.344 kB / 0.7441 GB, free: 14.79 MB / 0.5919 GB 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 4.438e-05/0.3776, allocations: 122.1 kB / 0.7442 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.687e-05/0.3776, allocations: 7.5 kB / 0.7442 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001608/0.3778, allocations: 100.9 kB / 0.7443 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3778, allocations: 1.094 kB / 0.7443 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3778, allocations: 1.219 kB / 0.7443 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3778, allocations: 0.6562 kB / 0.7443 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002594/0.378, allocations: 301.3 kB / 0.7446 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.378, allocations: 0 / 0.7446 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.3781, allocations: 21.02 kB / 0.7446 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.3781, allocations: 0.6562 kB / 0.7446 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.3781, allocations: 5.094 kB / 0.7446 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3781, allocations: 1.547 kB / 0.7446 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3781, allocations: 1.312 kB / 0.7446 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.3783, allocations: 228.8 kB / 0.7449 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.869e-05/0.3784, allocations: 11.08 kB / 0.7449 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.3784, allocations: 5.844 kB / 0.7449 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.141e-05/0.3785, allocations: 6.453 kB / 0.7449 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.303e-05/0.3785, allocations: 6.141 kB / 0.7449 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.3785, allocations: 7.594 kB / 0.7449 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 1.761e-05/0.3785, allocations: 82.3 kB / 0.745 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.3785, allocations: 1.812 kB / 0.745 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002641/0.3788, allocations: 41.52 kB / 0.745 GB, free: 14.04 MB / 0.5919 GB 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.0001754/0.379, allocations: 136.8 kB / 0.7451 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000128/0.3791, allocations: 67.08 kB / 0.7452 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3791, allocations: 0 / 0.7452 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.197e-05/0.3791, allocations: 34.31 kB / 0.7452 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.3793, allocations: 11.25 kB / 0.7453 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002753/0.3796, allocations: 176 kB / 0.7454 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.971e-05/0.3797, allocations: 74.64 kB / 0.7455 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.302e-05/0.3797, allocations: 12.27 kB / 0.7455 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.099e-05/0.3797, allocations: 14 kB / 0.7455 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/0.3797, allocations: 0 / 0.7455 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of Templates: time 0.004017/0.3837, allocations: 1.391 MB / 0.7469 GB, free: 13.57 MB / 0.5919 GB " [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=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.409063403028995] Failed to read output from testmodel.py, exit status != 0: 0.39107333694119006 0.402205061 0.02533697299999994 Calling exit ...