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.001602/0.001602, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001772/0.001772, allocations: 221.6 kB / 22.99 MB, free: 4.914 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.563/1.563, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.315/3.315, allocations: 0.4892 GB / 0.7951 GB, free: 35.68 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.002081/0.002081, allocations: 71.59 kB / 1.154 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.4039, allocations: 176.1 MB / 1.326 GB, free: 1.836 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001875/0.4057, allocations: 0.6185 MB / 1.327 GB, free: 1.223 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0007468/0.4065, allocations: 319.2 kB / 1.327 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.283e-05/0.4065, allocations: 0 / 1.327 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.138e-05/0.4065, allocations: 3.938 kB / 1.327 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.035e-05/0.4066, allocations: 4 kB / 1.327 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005334/0.4071, allocations: 126.4 kB / 1.327 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.215e-05/0.4072, allocations: 19.92 kB / 1.327 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.744e-05/0.4072, allocations: 4 kB / 1.327 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.476e-05/0.4073, allocations: 11.98 kB / 1.327 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.95e-05/0.4073, allocations: 15.91 kB / 1.327 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.4073, allocations: 4 kB / 1.327 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004164/0.4077, allocations: 259.7 kB / 1.328 GB, free: 484 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.77e-05/0.4078, allocations: 4 kB / 1.328 GB, free: 480 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.4078, allocations: 11.92 kB / 1.328 GB, free: 468 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.408, allocations: 111.6 kB / 1.328 GB, free: 356 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.408, allocations: 0 / 1.328 GB, free: 356 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.373e-06/0.408, allocations: 0 / 1.328 GB, free: 356 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.408, allocations: 4 kB / 1.328 GB, free: 352 kB / 1.014 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.0004809/0.4085, allocations: 282 kB / 1.328 GB, free: 36 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.4085, allocations: 12.03 kB / 1.328 GB, free: 24 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.079e-05/0.4086, allocations: 0.9375 kB / 1.328 GB, free: 24 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.4087, allocations: 118.4 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.4088, allocations: 4.312 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.4088, allocations: 4.375 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.409, allocations: 101.7 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.409, allocations: 8.172 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.409, allocations: 3.938 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.409, allocations: 4 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.197e-05/0.4091, allocations: 15.98 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001949/0.4092, allocations: 113.3 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.4094, allocations: 54.5 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.961e-05/0.4094, allocations: 28.84 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005467/0.41, allocations: 79.92 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.41, allocations: 34.55 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.41, allocations: 0 / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.001323/0.4113, allocations: 475.3 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.4114, allocations: 51.41 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.231e-05/0.4115, allocations: 93.86 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.4115, allocations: 29.7 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.4115, allocations: 80.14 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.897e-05/0.4116, allocations: 39.69 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.843e-05/0.4117, allocations: 29.7 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.4118, allocations: 314.8 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.518e-05/0.4119, allocations: 19.98 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.423e-05/0.4119, allocations: 23.94 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.781e-05/0.412, allocations: 56.84 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.412, allocations: 4 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001779/0.4122, allocations: 105.3 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.4122, allocations: 7.938 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.4122, allocations: 4 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.4122, allocations: 96 / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.4124, allocations: 27.86 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.4124, allocations: 0 / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.776e-05/0.4124, allocations: 8 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.4124, allocations: 0 / 1.33 GB, free: 13.92 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.0001068/0.4125, allocations: 118.4 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.374e-05/0.4125, allocations: 15.88 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002086/0.4127, allocations: 101.9 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.4127, allocations: 4 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4127, allocations: 0 / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.4128, allocations: 0 / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004405/0.4132, allocations: 298.1 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4132, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.4133, allocations: 31.92 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.4133, allocations: 0 / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.4133, allocations: 0 / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4133, allocations: 4 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4133, allocations: 7.984 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.4136, allocations: 211.4 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.872e-05/0.4136, allocations: 11.97 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.4137, allocations: 8 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.751e-05/0.4137, allocations: 0 / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.889e-05/0.4138, allocations: 11.92 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.4138, allocations: 8 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.802e-05/0.4138, allocations: 79.27 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4138, allocations: 0 / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002903/0.4141, allocations: 47.88 kB / 1.331 GB, free: 12.91 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.0002796/0.4144, allocations: 137.7 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001585/0.4146, allocations: 55.97 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.4146, allocations: 0 / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.574e-05/0.4146, allocations: 35.92 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.4149, allocations: 18.41 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004316/0.4153, allocations: 207.7 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.07e-05/0.4154, allocations: 72.27 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.616e-05/0.4154, allocations: 23.38 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of SimCode: time 2.6e-07/0.4154, allocations: 0 / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of Templates: time 0.003354/0.4188, allocations: 1.225 MB / 1.333 GB, free: 11.09 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.593816232867539] Failed to read output from testmodel.py, exit status != 0: 0.4270433010533452 0.4424396 0.03127092999999994 Calling exit ...