Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001692/0.001692, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002139/0.002139, allocations: 219.9 kB / 23.01 MB, free: 4.605 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.513/1.513, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.272/3.272, allocations: 0.49 GB / 0.7958 GB, free: 33.43 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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_12_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_12_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.002106/0.002106, allocations: 76.67 kB / 1.155 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.3755, allocations: 176.1 MB / 1.327 GB, free: 1.418 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001902/0.3774, allocations: 0.602 MB / 1.328 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0007682/0.3781, allocations: 347.2 kB / 1.328 GB, free: 492 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.48e-05/0.3782, allocations: 7.938 kB / 1.328 GB, free: 484 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.775e-05/0.3782, allocations: 0 / 1.328 GB, free: 484 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 1.852e-05/0.3782, allocations: 0 / 1.328 GB, free: 484 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005251/0.3787, allocations: 115.7 kB / 1.328 GB, free: 368 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.521e-05/0.3788, allocations: 7.938 kB / 1.328 GB, free: 360 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.884e-05/0.3789, allocations: 4 kB / 1.328 GB, free: 356 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.09e-05/0.3789, allocations: 4 kB / 1.328 GB, free: 352 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.019e-05/0.379, allocations: 15.92 kB / 1.328 GB, free: 336 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.379, allocations: 0 / 1.328 GB, free: 336 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004609/0.3794, allocations: 275.7 kB / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.3795, allocations: 0 / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.965e-05/0.3795, allocations: 7.922 kB / 1.329 GB, free: 52 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002628/0.3797, allocations: 95.72 kB / 1.329 GB, free: 15.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3798, allocations: 0 / 1.329 GB, free: 15.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.384e-06/0.3798, allocations: 0 / 1.329 GB, free: 15.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.3798, allocations: 0 / 1.329 GB, free: 15.96 MB / 1.029 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.0004686/0.3802, allocations: 268.1 kB / 1.329 GB, free: 15.66 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.3803, allocations: 8.031 kB / 1.329 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.214e-05/0.3804, allocations: 8.891 kB / 1.329 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.3805, allocations: 110.5 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.3805, allocations: 384 / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.3805, allocations: 4.375 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.3807, allocations: 34.25 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.3807, allocations: 192 / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.3807, allocations: 7.875 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.3807, allocations: 4 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.6e-05/0.3807, allocations: 4 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002629/0.381, allocations: 124.8 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.521e-05/0.3811, allocations: 22.58 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.433e-05/0.3811, allocations: 8.797 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006372/0.3817, allocations: 75.97 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.3818, allocations: 42.5 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3818, allocations: 0 / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0006823/0.3825, allocations: 181.3 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.3825, allocations: 51.41 kB / 1.33 GB, free: 14.85 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.3826, allocations: 97.86 kB / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.3826, allocations: 29.69 kB / 1.33 GB, free: 14.71 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.415e-05/0.3827, allocations: 84.12 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.3827, allocations: 7.953 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.93e-05/0.3828, allocations: 17.72 kB / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001943/0.383, allocations: 315 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.537e-05/0.383, allocations: 15.98 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.248e-05/0.383, allocations: 13.72 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.037e-05/0.3831, allocations: 21.72 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-07/0.3831, allocations: 0 / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000119/0.3832, allocations: 65.58 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.3832, allocations: 11.94 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3832, allocations: 0 / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.3832, allocations: 0 / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.991e-05/0.3833, allocations: 8 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.3833, allocations: 0 / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.179e-05/0.3833, allocations: 4 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.3834, allocations: 11.92 kB / 1.33 GB, free: 14.11 MB / 1.029 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 9.923e-05/0.3835, allocations: 106.4 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.3835, allocations: 8.141 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001483/0.3836, allocations: 57.36 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.3836, allocations: 4 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3836, allocations: 0 / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.3836, allocations: 0 / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.3838, allocations: 124.8 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.3838, allocations: 0 / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.565e-05/0.3838, allocations: 7.984 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.3838, allocations: 3.938 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.3838, allocations: 7.938 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.3838, allocations: 7.938 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3838, allocations: 0 / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.384, allocations: 73.12 kB / 1.331 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.889e-06/0.384, allocations: 0 / 1.331 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.384, allocations: 11.91 kB / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.76e-05/0.3841, allocations: 0 / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.056e-05/0.3841, allocations: 3.984 kB / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.3841, allocations: 4.062 kB / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.325e-05/0.3841, allocations: 79.28 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3841, allocations: 0 / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002509/0.3844, allocations: 27.94 kB / 1.331 GB, free: 13.51 MB / 1.029 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.0002562/0.3847, allocations: 119.2 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001088/0.3848, allocations: 19.92 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3848, allocations: 224 / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.767e-05/0.3848, allocations: 12 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.3849, allocations: 5.688 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003363/0.3853, allocations: 147.1 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.3856, allocations: 0.6768 MB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.191e-05/0.3857, allocations: 7.438 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of SimCode: time 3.8e-07/0.3857, allocations: 0 / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of Templates: time 0.002773/0.3884, allocations: 0.7766 MB / 1.332 GB, free: 11.68 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 11.736402726004599] Failed to read output from testmodel.py, exit status != 0: 0.39684907099581324 0.41164855899999997 0.028871441 Calling exit ...