Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 114 kB / 17.13 MB, free: 6.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 198 kB / 20.08 MB, free: 3.109 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.602/1.602, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.607/2.607, allocations: 443.5 MB / 0.7293 GB, free: 14.66 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 71.89 kB / 1.057 GB, free: 2.055 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3363, allocations: 160.7 MB / 1.214 GB, free: 1.031 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001816/0.3382, allocations: 0.6224 MB / 1.215 GB, free: 416 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0007297/0.3389, allocations: 358.6 kB / 1.215 GB, free: 56 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.283e-05/0.3389, allocations: 0 / 1.215 GB, free: 56 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.27e-05/0.3389, allocations: 3.938 kB / 1.215 GB, free: 52 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 2.661e-05/0.339, allocations: 4 kB / 1.215 GB, free: 48 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004324/0.3394, allocations: 119.6 kB / 1.215 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.135e-05/0.3394, allocations: 19.98 kB / 1.215 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 2.825e-05/0.3395, allocations: 7.984 kB / 1.215 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.923e-05/0.3395, allocations: 11.94 kB / 1.215 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.741e-05/0.3396, allocations: 15.97 kB / 1.215 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.3396, allocations: 4 kB / 1.215 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004024/0.34, allocations: 275.7 kB / 1.215 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.327e-05/0.34, allocations: 7.922 kB / 1.216 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.157e-05/0.34, allocations: 11.94 kB / 1.216 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.3402, allocations: 103.6 kB / 1.216 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3402, allocations: 0 / 1.216 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.714e-06/0.3402, allocations: 0 / 1.216 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.3402, allocations: 0 / 1.216 GB, free: 15.48 MB / 0.9669 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.0005179/0.3407, allocations: 367.1 kB / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.3407, allocations: 8.031 kB / 1.216 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.296e-05/0.3408, allocations: 8.891 kB / 1.216 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.341, allocations: 172.3 kB / 1.216 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.341, allocations: 4.375 kB / 1.216 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.341, allocations: 4.375 kB / 1.216 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.3411, allocations: 46.25 kB / 1.216 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.3411, allocations: 192 / 1.216 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.3412, allocations: 3.938 kB / 1.216 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.3412, allocations: 4 kB / 1.216 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.225e-05/0.3412, allocations: 15.98 kB / 1.216 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002069/0.3414, allocations: 169.6 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.3415, allocations: 62.5 kB / 1.216 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.127e-05/0.3416, allocations: 32.84 kB / 1.216 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007806/0.3424, allocations: 465.4 kB / 1.217 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.3424, allocations: 30.56 kB / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.3424, allocations: 4 kB / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.001364/0.3438, allocations: 0.5956 MB / 1.218 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.3438, allocations: 55.41 kB / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.068e-05/0.3439, allocations: 97.84 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.3439, allocations: 29.7 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.344, allocations: 84.08 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.696e-05/0.3441, allocations: 39.64 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.003e-05/0.3441, allocations: 25.72 kB / 1.218 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3443, allocations: 330.8 kB / 1.218 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.503e-05/0.3443, allocations: 23.92 kB / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.911e-05/0.3444, allocations: 23.75 kB / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.3445, allocations: 56.84 kB / 1.218 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.3445, allocations: 0 / 1.218 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001635/0.3446, allocations: 97.62 kB / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.3446, allocations: 4 kB / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.3446, allocations: 0 / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.3447, allocations: 96 / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.3448, allocations: 31.86 kB / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.3448, allocations: 4 kB / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.551e-05/0.3448, allocations: 4 kB / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.3448, allocations: 4 kB / 1.218 GB, free: 12.22 MB / 0.9669 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.0001359/0.3449, allocations: 113.8 kB / 1.219 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.345, allocations: 7.891 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002051/0.3452, allocations: 113.5 kB / 1.219 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.3452, allocations: 0 / 1.219 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3452, allocations: 0 / 1.219 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3452, allocations: 0 / 1.219 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004316/0.3456, allocations: 354.5 kB / 1.219 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3456, allocations: 0 / 1.219 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.3457, allocations: 23.92 kB / 1.219 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.3457, allocations: 4 kB / 1.219 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.3457, allocations: 4 kB / 1.219 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3457, allocations: 0 / 1.219 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.3457, allocations: 4 kB / 1.219 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/0.346, allocations: 223.4 kB / 1.219 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.52e-05/0.3461, allocations: 89.08 kB / 1.219 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.3461, allocations: 3.984 kB / 1.219 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.178e-05/0.3462, allocations: 4 kB / 1.219 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.992e-05/0.3462, allocations: 4 kB / 1.219 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.3462, allocations: 4 kB / 1.219 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.793e-05/0.3463, allocations: 87.45 kB / 1.219 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3463, allocations: 0 / 1.219 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002755/0.3466, allocations: 39.88 kB / 1.219 GB, free: 11.05 MB / 0.9669 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.0002527/0.3468, allocations: 143.3 kB / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001536/0.347, allocations: 63.84 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.347, allocations: 0 / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.05e-05/0.347, allocations: 31.92 kB / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.3472, allocations: 14.61 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003972/0.3476, allocations: 215.5 kB / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000441/0.3481, allocations: 0.6924 MB / 1.221 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.14e-05/0.3481, allocations: 11.44 kB / 1.221 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of SimCode: time 3.6e-07/0.3481, allocations: 0 / 1.221 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of Templates: time 0.003273/0.3514, allocations: 1.219 MB / 1.222 GB, free: 8.613 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 10.843764203134924] Failed to read output from testmodel.py, exit status != 0: 0.3593006730079651 0.372316868 0.029244053000000002 Calling exit ...