Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.001529/0.001529, 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.001672/0.001672, allocations: 215.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.414/1.414, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.212/3.212, allocations: 0.5107 GB / 0.8166 GB, free: 17.77 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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [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.002116/0.002116, allocations: 68.5 kB / 1.187 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3402, allocations: 181.9 MB / 1.365 GB, free: 13.53 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001816/0.342, allocations: 0.603 MB / 1.365 GB, free: 12.92 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007428/0.3428, allocations: 307.3 kB / 1.366 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.256e-05/0.3428, allocations: 4 kB / 1.366 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.634e-05/0.3428, allocations: 0 / 1.366 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 1.648e-05/0.3428, allocations: 0 / 1.366 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000473/0.3433, allocations: 119.6 kB / 1.366 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.217e-05/0.3434, allocations: 7.984 kB / 1.366 GB, free: 12.49 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.335e-05/0.3434, allocations: 0 / 1.366 GB, free: 12.49 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.128e-05/0.3434, allocations: 11.92 kB / 1.366 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.346e-05/0.3435, allocations: 7.984 kB / 1.366 GB, free: 12.47 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.3435, allocations: 4 kB / 1.366 GB, free: 12.47 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003889/0.3439, allocations: 251.7 kB / 1.366 GB, free: 12.22 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.734e-05/0.3439, allocations: 8 kB / 1.366 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.773e-05/0.3439, allocations: 3.938 kB / 1.366 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.3441, allocations: 99.7 kB / 1.366 GB, free: 12.11 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3441, allocations: 4 kB / 1.366 GB, free: 12.11 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.923e-06/0.3441, allocations: 0 / 1.366 GB, free: 12.11 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.3441, allocations: 0 / 1.366 GB, free: 12.11 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003876/0.3445, allocations: 263.8 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.3445, allocations: 8.031 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.514e-05/0.3446, allocations: 4.938 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.3447, allocations: 106.5 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-06/0.3447, allocations: 384 / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.3447, allocations: 4.375 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.3449, allocations: 67.89 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.3449, allocations: 4.188 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.3449, allocations: 3.938 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3449, allocations: 3.938 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.189e-05/0.3449, allocations: 4 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001456/0.3451, allocations: 105.3 kB / 1.367 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.28e-05/0.3451, allocations: 18.61 kB / 1.367 GB, free: 11.42 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.694e-05/0.3451, allocations: 4.859 kB / 1.367 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005485/0.3457, allocations: 79.98 kB / 1.367 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.3457, allocations: 38.48 kB / 1.367 GB, free: 11.29 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3457, allocations: 0 / 1.367 GB, free: 11.29 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005138/0.3462, allocations: 185.1 kB / 1.367 GB, free: 11.07 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.3463, allocations: 51.62 kB / 1.367 GB, free: 11.01 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.395e-05/0.3463, allocations: 97.86 kB / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.3464, allocations: 25.7 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.813e-05/0.3464, allocations: 80.14 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.3464, allocations: 15.91 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/0.3464, allocations: 13.7 kB / 1.367 GB, free: 10.76 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.3466, allocations: 318.8 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.388e-05/0.3466, allocations: 8 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.487e-05/0.3466, allocations: 21.7 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.223e-05/0.3467, allocations: 29.78 kB / 1.368 GB, free: 10.37 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3467, allocations: 4 kB / 1.368 GB, free: 10.36 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.583e-05/0.3468, allocations: 45.7 kB / 1.368 GB, free: 10.31 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.3468, allocations: 7.984 kB / 1.368 GB, free: 10.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3468, allocations: 0 / 1.368 GB, free: 10.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.3468, allocations: 3.938 kB / 1.368 GB, free: 10.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.877e-05/0.3469, allocations: 11.94 kB / 1.368 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.3469, allocations: 0 / 1.368 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.744e-05/0.3469, allocations: 0 / 1.368 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.3469, allocations: 4 kB / 1.368 GB, free: 10.29 MB / 1.061 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 8.085e-05/0.347, allocations: 114.6 kB / 1.368 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.347, allocations: 4 kB / 1.368 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001319/0.3472, allocations: 61.28 kB / 1.368 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.3472, allocations: 0 / 1.368 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3472, allocations: 0 / 1.368 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.3472, allocations: 0 / 1.368 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.807e-05/0.3472, allocations: 105.3 kB / 1.368 GB, free: 9.953 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3472, allocations: 0 / 1.368 GB, free: 9.953 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.524e-05/0.3473, allocations: 16.11 kB / 1.368 GB, free: 9.938 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3473, allocations: 4 kB / 1.368 GB, free: 9.934 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.3473, allocations: 4 kB / 1.368 GB, free: 9.93 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.3473, allocations: 3.938 kB / 1.368 GB, free: 9.926 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.3473, allocations: 3.984 kB / 1.368 GB, free: 9.922 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.3475, allocations: 77.08 kB / 1.368 GB, free: 9.828 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.893e-06/0.3475, allocations: 4.031 kB / 1.368 GB, free: 9.824 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.3475, allocations: 0 / 1.368 GB, free: 9.824 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.162e-05/0.3475, allocations: 7.922 kB / 1.368 GB, free: 9.816 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.917e-05/0.3475, allocations: 7.938 kB / 1.368 GB, free: 9.809 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.3475, allocations: 0 / 1.368 GB, free: 9.809 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.079e-05/0.3476, allocations: 79.34 kB / 1.368 GB, free: 9.73 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3476, allocations: 0 / 1.368 GB, free: 9.73 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002123/0.3478, allocations: 27.94 kB / 1.368 GB, free: 9.703 MB / 1.061 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.0002098/0.348, allocations: 127.1 kB / 1.368 GB, free: 9.566 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.817e-05/0.3481, allocations: 19.98 kB / 1.368 GB, free: 9.547 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3481, allocations: 0 / 1.368 GB, free: 9.547 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.668e-05/0.3481, allocations: 4 kB / 1.368 GB, free: 9.543 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001381/0.3483, allocations: 4 kB / 1.368 GB, free: 9.539 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002741/0.3485, allocations: 149.1 kB / 1.368 GB, free: 9.363 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.27e-05/0.3486, allocations: 67.34 kB / 1.368 GB, free: 9.277 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.106e-05/0.3486, allocations: 7.438 kB / 1.368 GB, free: 9.27 MB / 1.061 GB Notification: Performance of SimCode: time 3.71e-07/0.3486, allocations: 0 / 1.368 GB, free: 9.27 MB / 1.061 GB Notification: Performance of Templates: time 0.002363/0.351, allocations: 0.7784 MB / 1.369 GB, free: 8.496 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 10.937266313005239] Failed to read output from testmodel.py, exit status != 0: 0.35885739978402853 0.37290505700000004 0.025856137 Calling exit ...