Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.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.001734/0.001734, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.001521/0.001521, allocations: 212.2 kB / 23.03 MB, free: 4.863 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.696/1.696, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.312/3.312, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 300] "Notification: Buildings 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.00207/0.00207, allocations: 64.97 kB / 1.155 GB, free: 25.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3802, allocations: 176.1 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002225/0.3824, allocations: 0.6256 MB / 1.328 GB, free: 416 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0007828/0.3832, allocations: 319.2 kB / 1.328 GB, free: 96 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.872e-05/0.3833, allocations: 0 / 1.328 GB, free: 96 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.935e-05/0.3833, allocations: 0 / 1.328 GB, free: 96 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.892e-05/0.3833, allocations: 4 kB / 1.328 GB, free: 92 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005457/0.3839, allocations: 119.6 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.133e-05/0.3839, allocations: 27.91 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.977e-05/0.384, allocations: 4 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.262e-05/0.384, allocations: 4 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.473e-05/0.3841, allocations: 15.92 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.3841, allocations: 4 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004231/0.3845, allocations: 255.7 kB / 1.329 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.252e-05/0.3846, allocations: 15.97 kB / 1.329 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.648e-05/0.3846, allocations: 11.94 kB / 1.329 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.3848, allocations: 103.6 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3848, allocations: 0 / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3848, allocations: 3.938 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.939e-06/0.3848, allocations: 4 kB / 1.329 GB, free: 15.53 MB / 1.029 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.0005236/0.3854, allocations: 287.1 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.3854, allocations: 12.03 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.269e-05/0.3855, allocations: 0.9375 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.3856, allocations: 110.5 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.3856, allocations: 12.3 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.3857, allocations: 8.375 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.3858, allocations: 97.66 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.3858, allocations: 192 / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.3858, allocations: 3.938 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.3859, allocations: 0 / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.454e-05/0.3859, allocations: 23.92 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001895/0.3861, allocations: 113.3 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.3862, allocations: 54.56 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.856e-05/0.3863, allocations: 24.86 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005277/0.3868, allocations: 79.91 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.3868, allocations: 30.56 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.3868, allocations: 0 / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.001313/0.3881, allocations: 467.7 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.3882, allocations: 59.34 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.145e-05/0.3883, allocations: 101.8 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.3883, allocations: 25.7 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.447e-05/0.3883, allocations: 80.14 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.37e-05/0.3884, allocations: 47.67 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.795e-05/0.3885, allocations: 21.72 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.3886, allocations: 318.8 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.18e-05/0.3887, allocations: 20 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.156e-05/0.3887, allocations: 23.98 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.688e-05/0.3888, allocations: 56.86 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3888, allocations: 0 / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001917/0.389, allocations: 102.9 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.389, allocations: 9.5 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.389, allocations: 4 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.389, allocations: 0 / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.3891, allocations: 19.98 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.3891, allocations: 0 / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.907e-05/0.3892, allocations: 12.09 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-06/0.3892, allocations: 7.938 kB / 1.331 GB, free: 13.11 MB / 1.029 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 0.0001055/0.3893, allocations: 114.4 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.3893, allocations: 11.89 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002123/0.3895, allocations: 109.6 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3895, allocations: 4 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.3895, allocations: 0 / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.3895, allocations: 0 / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004201/0.39, allocations: 298.2 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.39, allocations: 0 / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.3901, allocations: 23.98 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.3901, allocations: 4 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.3901, allocations: 0 / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3901, allocations: 0 / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.3901, allocations: 4 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002952/0.3904, allocations: 215.4 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.272e-05/0.3904, allocations: 15.95 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.3904, allocations: 4 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.593e-05/0.3905, allocations: 0 / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.094e-05/0.3905, allocations: 15.92 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.3905, allocations: 4 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.497e-05/0.3906, allocations: 75.28 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3906, allocations: 4.062 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002864/0.3909, allocations: 51.86 kB / 1.332 GB, free: 12.1 MB / 1.029 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.0002722/0.3912, allocations: 137.4 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001548/0.3913, allocations: 55.92 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3913, allocations: 0 / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.067e-05/0.3914, allocations: 27.98 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.3916, allocations: 11.94 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004216/0.392, allocations: 215.6 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.752e-05/0.3921, allocations: 72.05 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.725e-05/0.3921, allocations: 19.38 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of SimCode: time 5.81e-07/0.3921, allocations: 3.938 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of Templates: time 0.003336/0.3955, allocations: 1.228 MB / 1.333 GB, free: 10.29 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 11.54161383304745] Failed to read output from testmodel.py, exit status != 0: 0.40438086492940784 0.41949837999999995 0.031504709 Calling exit ...