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.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.001247/0.001247, allocations: 78.17 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.00132/0.00132, allocations: 160 kB / 23.01 MB, free: 4.945 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.34/1.34, allocations: 177.2 MB / 203.4 MB, free: 8.953 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.002405/0.002405, allocations: 241.2 kB / 260 MB, free: 424 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.8974/0.8974, allocations: 138.5 MB / 455 MB, free: 15.07 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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [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.002953/0.002953, allocations: 103.8 kB / 0.6474 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.3808, allocations: 95.34 MB / 0.7405 GB, free: 17.48 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001614/0.3824, allocations: 0.6012 MB / 0.7411 GB, free: 17.12 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0005862/0.383, allocations: 310.1 kB / 0.7414 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.377e-05/0.3831, allocations: 1.219 kB / 0.7414 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.452e-05/0.3831, allocations: 0 / 0.7414 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 1.434e-05/0.3831, allocations: 0 / 0.7414 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004047/0.3835, allocations: 116.9 kB / 0.7415 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 4.093e-05/0.3835, allocations: 5.703 kB / 0.7415 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.173e-05/0.3836, allocations: 10.33 kB / 0.7415 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 1.596e-05/0.3836, allocations: 8.047 kB / 0.7415 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 4.318e-05/0.3836, allocations: 6.5 kB / 0.7415 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.3836, allocations: 1.219 kB / 0.7415 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003683/0.384, allocations: 255.7 kB / 0.7418 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.293e-05/0.384, allocations: 5.938 kB / 0.7418 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 1.549e-05/0.384, allocations: 7.125 kB / 0.7418 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.3842, allocations: 91.86 kB / 0.7419 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.3842, allocations: 0 / 0.7419 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3842, allocations: 0 / 0.7419 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.3842, allocations: 1.125 kB / 0.7419 GB, free: 16.79 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002523/0.3845, allocations: 274.9 kB / 0.7421 GB, free: 16.51 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.3845, allocations: 10.2 kB / 0.7421 GB, free: 16.51 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.669e-05/0.3845, allocations: 2.125 kB / 0.7421 GB, free: 16.51 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.538e-05/0.3846, allocations: 105.8 kB / 0.7422 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.612e-06/0.3846, allocations: 1.656 kB / 0.7422 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.3846, allocations: 2.438 kB / 0.7422 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.098e-05/0.3847, allocations: 66.62 kB / 0.7423 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.3847, allocations: 4.125 kB / 0.7423 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.956e-06/0.3847, allocations: 4.828 kB / 0.7423 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.3847, allocations: 0 / 0.7423 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.733e-05/0.3848, allocations: 6.625 kB / 0.7423 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.195e-05/0.3848, allocations: 103.3 kB / 0.7424 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 3.671e-05/0.3849, allocations: 26.77 kB / 0.7424 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.439e-05/0.3849, allocations: 11.55 kB / 0.7425 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005238/0.3854, allocations: 80.06 kB / 0.7425 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.287e-05/0.3854, allocations: 32.48 kB / 0.7426 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3854, allocations: 0 / 0.7426 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0003819/0.3858, allocations: 183.7 kB / 0.7427 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.458e-05/0.3858, allocations: 52.06 kB / 0.7428 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.526e-05/0.3859, allocations: 94.22 kB / 0.7429 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.773e-06/0.3859, allocations: 27.27 kB / 0.7429 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 1.213e-05/0.3859, allocations: 85.48 kB / 0.743 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.3859, allocations: 18.55 kB / 0.743 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/0.3859, allocations: 18.45 kB / 0.743 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.457e-05/0.386, allocations: 312.8 kB / 0.7433 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.546e-05/0.386, allocations: 4.891 kB / 0.7433 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.108e-05/0.386, allocations: 19.73 kB / 0.7433 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.763e-05/0.386, allocations: 29.05 kB / 0.7434 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.386, allocations: 0 / 0.7434 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.935e-05/0.3861, allocations: 52.22 kB / 0.7434 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.3861, allocations: 6.094 kB / 0.7434 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.3861, allocations: 0 / 0.7434 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.3862, allocations: 10.03 kB / 0.7434 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.068e-05/0.3862, allocations: 10.44 kB / 0.7434 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.3862, allocations: 1.719 kB / 0.7434 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.715e-05/0.3862, allocations: 1.031 kB / 0.7434 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.3862, allocations: 1.031 kB / 0.7434 GB, free: 15.2 MB / 0.5919 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 3.623e-05/0.3863, allocations: 112.9 kB / 0.7436 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.174e-05/0.3863, allocations: 2.188 kB / 0.7436 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.3864, allocations: 62.83 kB / 0.7436 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3864, allocations: 2.25 kB / 0.7436 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3864, allocations: 3.938 kB / 0.7436 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.3864, allocations: 0 / 0.7436 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.467e-05/0.3864, allocations: 103.5 kB / 0.7437 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3864, allocations: 3.938 kB / 0.7437 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.677e-05/0.3865, allocations: 5.953 kB / 0.7437 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3865, allocations: 4.641 kB / 0.7437 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.748e-06/0.3865, allocations: 1.344 kB / 0.7437 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3865, allocations: 8.547 kB / 0.7437 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3865, allocations: 1.125 kB / 0.7437 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001108/0.3866, allocations: 80.27 kB / 0.7438 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-06/0.3866, allocations: 1.562 kB / 0.7438 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.3866, allocations: 2.359 kB / 0.7438 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.737e-05/0.3867, allocations: 4.547 kB / 0.7438 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.653e-05/0.3867, allocations: 2.953 kB / 0.7438 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.3867, allocations: 1.75 kB / 0.7438 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 1.582e-05/0.3867, allocations: 81.7 kB / 0.7439 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.3867, allocations: 0 / 0.7439 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002/0.3869, allocations: 28.86 kB / 0.7439 GB, free: 14.71 MB / 0.5919 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.0001483/0.387, allocations: 126.4 kB / 0.7441 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.792e-05/0.3871, allocations: 16.84 kB / 0.7441 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3871, allocations: 1.625 kB / 0.7441 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.5e-05/0.3871, allocations: 9.531 kB / 0.7441 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.3873, allocations: 2.781 kB / 0.7441 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001766/0.3874, allocations: 110.4 kB / 0.7442 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.576e-05/0.3875, allocations: 61.34 kB / 0.7443 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.305e-05/0.3875, allocations: 6.125 kB / 0.7443 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.473e-05/0.3875, allocations: 11.67 kB / 0.7443 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of SimCode: time 3.61e-07/0.3875, allocations: 0 / 0.7443 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of Templates: time 0.003115/0.3906, allocations: 0.8885 MB / 0.7451 GB, free: 14.33 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 660] (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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.427756745950319] Failed to read output from testmodel.py, exit status != 0: 0.39773376390803605 0.407792579 0.021182543 Calling exit ...