Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001814/0.001814, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.003023/0.003023, allocations: 216.9 kB / 22.99 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.554/1.554, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.894/2.894, allocations: 476 MB / 0.7707 GB, free: 4.75 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002174/0.002174, allocations: 63.92 kB / 1.118 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3566, allocations: 169.9 MB / 1.284 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002236/0.3588, allocations: 0.6335 MB / 1.284 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008352/0.3596, allocations: 326.9 kB / 1.285 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.959e-05/0.3597, allocations: 4 kB / 1.285 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.128e-05/0.3597, allocations: 0 / 1.285 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.708e-05/0.3597, allocations: 3.938 kB / 1.285 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005774/0.3603, allocations: 118.8 kB / 1.285 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.83e-05/0.3604, allocations: 23.98 kB / 1.285 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.662e-05/0.3604, allocations: 0 / 1.285 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.99e-05/0.3605, allocations: 15.92 kB / 1.285 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.146e-05/0.3605, allocations: 11.92 kB / 1.285 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.3606, allocations: 4 kB / 1.285 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000462/0.361, allocations: 255.6 kB / 1.285 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.11e-05/0.361, allocations: 4 kB / 1.285 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.576e-05/0.3611, allocations: 15.88 kB / 1.285 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002416/0.3613, allocations: 107.6 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.3613, allocations: 7.984 kB / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3613, allocations: 0 / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.3613, allocations: 0 / 1.285 GB, free: 10.4 MB / 0.9825 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.0005136/0.3619, allocations: 286 kB / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.3619, allocations: 8.031 kB / 1.286 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.211e-05/0.362, allocations: 4.938 kB / 1.286 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.3621, allocations: 106.5 kB / 1.286 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.3621, allocations: 4.375 kB / 1.286 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.3622, allocations: 8.328 kB / 1.286 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.3624, allocations: 101.7 kB / 1.286 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.3624, allocations: 192 / 1.286 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.3624, allocations: 3.938 kB / 1.286 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.3624, allocations: 4 kB / 1.286 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.398e-05/0.3625, allocations: 23.86 kB / 1.286 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000189/0.3627, allocations: 117.3 kB / 1.286 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.3628, allocations: 58.55 kB / 1.286 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.782e-05/0.3628, allocations: 28.84 kB / 1.286 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005503/0.3634, allocations: 79.92 kB / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.3634, allocations: 30.56 kB / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.3634, allocations: 0 / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.001396/0.3648, allocations: 471.7 kB / 1.287 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.3649, allocations: 51.41 kB / 1.287 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.103e-05/0.365, allocations: 101.8 kB / 1.287 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.365, allocations: 25.7 kB / 1.287 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.859e-05/0.365, allocations: 84.14 kB / 1.287 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.335e-05/0.3651, allocations: 39.69 kB / 1.287 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.861e-05/0.3651, allocations: 21.72 kB / 1.287 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.3653, allocations: 318.8 kB / 1.287 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.131e-05/0.3654, allocations: 16 kB / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.682e-05/0.3654, allocations: 27.98 kB / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.3655, allocations: 60.84 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3655, allocations: 0 / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001768/0.3657, allocations: 99.92 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.3657, allocations: 15.88 kB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3657, allocations: 0 / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.3657, allocations: 0 / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.3659, allocations: 19.98 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.3659, allocations: 4 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.775e-05/0.3659, allocations: 4 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.3659, allocations: 4 kB / 1.287 GB, free: 7.98 MB / 0.9825 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.0001089/0.366, allocations: 113.8 kB / 1.288 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.658e-05/0.3661, allocations: 11.89 kB / 1.288 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002316/0.3663, allocations: 113.6 kB / 1.288 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.3663, allocations: 0 / 1.288 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3663, allocations: 0 / 1.288 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3663, allocations: 0 / 1.288 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004511/0.3667, allocations: 302.1 kB / 1.288 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3667, allocations: 0 / 1.288 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.3669, allocations: 19.94 kB / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.3669, allocations: 0 / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.3669, allocations: 0 / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.3669, allocations: 11.98 kB / 1.288 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3669, allocations: 0 / 1.288 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.3672, allocations: 219.4 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.569e-05/0.3672, allocations: 12.02 kB / 1.288 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.3672, allocations: 0 / 1.288 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.868e-05/0.3673, allocations: 0 / 1.288 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.544e-05/0.3673, allocations: 11.98 kB / 1.288 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.3674, allocations: 8 kB / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.306e-05/0.3674, allocations: 83.45 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3674, allocations: 0 / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003099/0.3677, allocations: 47.86 kB / 1.288 GB, free: 6.977 MB / 0.9825 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.0002811/0.368, allocations: 143.2 kB / 1.288 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001773/0.3682, allocations: 59.91 kB / 1.289 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3682, allocations: 0 / 1.289 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.935e-05/0.3682, allocations: 28.38 kB / 1.289 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.3685, allocations: 20.08 kB / 1.289 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004801/0.3689, allocations: 207.6 kB / 1.289 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.337e-05/0.369, allocations: 75.33 kB / 1.289 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.044e-05/0.3691, allocations: 23.44 kB / 1.289 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of SimCode: time 4.3e-07/0.3691, allocations: 0 / 1.289 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of Templates: time 0.003715/0.3728, allocations: 1.221 MB / 1.29 GB, free: 5.148 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 11.741264193784446] Failed to read output from testmodel.py, exit status != 0: 0.9833787670359015 0.398132884 0.033466467 Calling exit ...