Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001557/0.001557, 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.001707/0.001707, allocations: 214.4 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.26/3.26, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(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_latest_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_latest_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.002338/0.002338, allocations: 62.91 kB / 1.187 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3471, allocations: 181.9 MB / 1.365 GB, free: 13.52 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001992/0.3491, allocations: 0.6244 MB / 1.365 GB, free: 12.9 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007794/0.3498, allocations: 319.2 kB / 1.366 GB, free: 12.59 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.549e-05/0.3499, allocations: 4 kB / 1.366 GB, free: 12.58 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.288e-05/0.3499, allocations: 4 kB / 1.366 GB, free: 12.58 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.461e-05/0.3499, allocations: 3.938 kB / 1.366 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004727/0.3504, allocations: 115.7 kB / 1.366 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.515e-05/0.3505, allocations: 19.98 kB / 1.366 GB, free: 12.44 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.3505, allocations: 0 / 1.366 GB, free: 12.44 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.144e-05/0.3505, allocations: 15.92 kB / 1.366 GB, free: 12.43 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.229e-05/0.3506, allocations: 11.92 kB / 1.366 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.3506, allocations: 7.938 kB / 1.366 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004097/0.351, allocations: 267.6 kB / 1.366 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.354e-05/0.351, allocations: 0 / 1.366 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.258e-05/0.351, allocations: 11.94 kB / 1.366 GB, free: 12.13 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.3513, allocations: 103.6 kB / 1.366 GB, free: 12.03 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3513, allocations: 4 kB / 1.366 GB, free: 12.03 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3513, allocations: 0 / 1.366 GB, free: 12.03 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.3513, allocations: 0 / 1.366 GB, free: 12.03 MB / 1.061 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.0004447/0.3517, allocations: 286.1 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.3517, allocations: 8.031 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.027e-05/0.3518, allocations: 8.891 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.3519, allocations: 110.5 kB / 1.367 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.3519, allocations: 8.375 kB / 1.367 GB, free: 11.56 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/0.352, allocations: 4.375 kB / 1.367 GB, free: 11.55 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.3521, allocations: 101.6 kB / 1.367 GB, free: 11.44 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.3521, allocations: 192 / 1.367 GB, free: 11.44 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.3521, allocations: 7.938 kB / 1.367 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.3522, allocations: 4 kB / 1.367 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.251e-05/0.3522, allocations: 19.91 kB / 1.367 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002279/0.3524, allocations: 117.3 kB / 1.367 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.3526, allocations: 58.55 kB / 1.367 GB, free: 11.2 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.752e-05/0.3526, allocations: 28.84 kB / 1.367 GB, free: 11.16 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005715/0.3532, allocations: 79.86 kB / 1.367 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.3532, allocations: 34.56 kB / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.3532, allocations: 0 / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.001522/0.3547, allocations: 459.8 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.3548, allocations: 51.41 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.843e-05/0.3549, allocations: 101.8 kB / 1.368 GB, free: 10.37 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.3549, allocations: 29.64 kB / 1.368 GB, free: 10.33 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.561e-05/0.355, allocations: 84.14 kB / 1.368 GB, free: 10.25 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.268e-05/0.355, allocations: 43.64 kB / 1.368 GB, free: 10.2 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.093e-05/0.3551, allocations: 25.72 kB / 1.368 GB, free: 10.17 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.3552, allocations: 314.8 kB / 1.368 GB, free: 9.855 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.048e-05/0.3553, allocations: 24 kB / 1.368 GB, free: 9.832 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.222e-05/0.3553, allocations: 23.98 kB / 1.368 GB, free: 9.809 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.3554, allocations: 63.09 kB / 1.368 GB, free: 9.746 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.3555, allocations: 4 kB / 1.368 GB, free: 9.742 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001916/0.3556, allocations: 93.58 kB / 1.368 GB, free: 9.645 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.3557, allocations: 11.94 kB / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.3557, allocations: 0 / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.3557, allocations: 0 / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.3558, allocations: 23.98 kB / 1.368 GB, free: 9.609 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.3558, allocations: 4 kB / 1.368 GB, free: 9.605 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.41e-05/0.3558, allocations: 4 kB / 1.368 GB, free: 9.602 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.3558, allocations: 4 kB / 1.368 GB, free: 9.598 MB / 1.061 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 9.914e-05/0.3559, allocations: 113.8 kB / 1.368 GB, free: 9.477 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.356, allocations: 7.938 kB / 1.368 GB, free: 9.469 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002232/0.3562, allocations: 109.7 kB / 1.368 GB, free: 9.344 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.3562, allocations: 0 / 1.368 GB, free: 9.344 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3562, allocations: 0 / 1.368 GB, free: 9.344 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3562, allocations: 0 / 1.368 GB, free: 9.344 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004597/0.3567, allocations: 302.2 kB / 1.369 GB, free: 9.012 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3567, allocations: 7.984 kB / 1.369 GB, free: 9.004 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.3568, allocations: 20 kB / 1.369 GB, free: 8.984 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.3568, allocations: 96 / 1.369 GB, free: 8.984 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.3568, allocations: 3.938 kB / 1.369 GB, free: 8.98 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3568, allocations: 4 kB / 1.369 GB, free: 8.977 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3568, allocations: 0 / 1.369 GB, free: 8.977 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003001/0.3571, allocations: 223.3 kB / 1.369 GB, free: 8.742 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.634e-05/0.3571, allocations: 15.97 kB / 1.369 GB, free: 8.727 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.3572, allocations: 0 / 1.369 GB, free: 8.727 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.363e-05/0.3572, allocations: 4 kB / 1.369 GB, free: 8.723 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.021e-05/0.3573, allocations: 7.984 kB / 1.369 GB, free: 8.715 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.3573, allocations: 4 kB / 1.369 GB, free: 8.711 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.901e-05/0.3573, allocations: 87.52 kB / 1.369 GB, free: 8.625 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3573, allocations: 0 / 1.369 GB, free: 8.625 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002879/0.3576, allocations: 47.86 kB / 1.369 GB, free: 8.578 MB / 1.061 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.0002454/0.3579, allocations: 135.2 kB / 1.369 GB, free: 8.438 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001526/0.358, allocations: 67.22 kB / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.358, allocations: 0 / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.173e-05/0.3581, allocations: 27.94 kB / 1.369 GB, free: 8.348 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.3583, allocations: 21.58 kB / 1.369 GB, free: 8.328 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004215/0.3587, allocations: 199.8 kB / 1.37 GB, free: 8.102 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.627e-05/0.3588, allocations: 67.34 kB / 1.37 GB, free: 8.016 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/0.3588, allocations: 23.42 kB / 1.37 GB, free: 7.996 MB / 1.061 GB Notification: Performance of SimCode: time 3.5e-07/0.3588, allocations: 0 / 1.37 GB, free: 7.996 MB / 1.061 GB Notification: Performance of Templates: time 0.003212/0.362, allocations: 1.225 MB / 1.371 GB, free: 6.773 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 11.13790777605027] Failed to read output from testmodel.py, exit status != 0: 0.3704768540337682 0.385845733 0.031213553 Calling exit ...