Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001408/0.001408, 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.001594/0.001594, allocations: 213.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.599/1.599, allocations: 230.6 MB / 256.8 MB, free: 7.816 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 3.025/3.025, allocations: 476 MB / 0.7707 GB, free: 4.734 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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_11_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_11_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.002113/0.002113, allocations: 66.84 kB / 1.118 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3496, allocations: 170 MB / 1.284 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002241/0.3518, allocations: 0.6013 MB / 1.284 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008078/0.3526, allocations: 307 kB / 1.285 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.127e-05/0.3527, allocations: 11.94 kB / 1.285 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.921e-05/0.3527, allocations: 0 / 1.285 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.007e-05/0.3527, allocations: 0 / 1.285 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005296/0.3532, allocations: 111.6 kB / 1.285 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.547e-05/0.3533, allocations: 15.92 kB / 1.285 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.947e-05/0.3534, allocations: 3.984 kB / 1.285 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.989e-05/0.3534, allocations: 4 kB / 1.285 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.433e-05/0.3534, allocations: 7.938 kB / 1.285 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.3534, allocations: 4 kB / 1.285 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000425/0.3539, allocations: 251.7 kB / 1.285 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.834e-05/0.3539, allocations: 7.984 kB / 1.285 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.053e-05/0.3539, allocations: 3.984 kB / 1.285 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.3541, allocations: 95.67 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/0.3541, allocations: 4 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3541, allocations: 0 / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.3541, allocations: 0 / 1.285 GB, free: 10.41 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000399/0.3545, allocations: 258.2 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.3546, allocations: 11.97 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.815e-05/0.3546, allocations: 12.92 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.3548, allocations: 114.4 kB / 1.286 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.3548, allocations: 384 / 1.286 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/0.3548, allocations: 4.375 kB / 1.286 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.3549, allocations: 55.97 kB / 1.286 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.3549, allocations: 192 / 1.286 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.3549, allocations: 7.875 kB / 1.286 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.3549, allocations: 3.984 kB / 1.286 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.461e-05/0.355, allocations: 8 kB / 1.286 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001519/0.3551, allocations: 97.33 kB / 1.286 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.427e-05/0.3552, allocations: 26.61 kB / 1.286 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.125e-05/0.3552, allocations: 4.859 kB / 1.286 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005697/0.3558, allocations: 79.97 kB / 1.286 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.3558, allocations: 38.56 kB / 1.286 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.3558, allocations: 0 / 1.286 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005537/0.3564, allocations: 181.1 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.3564, allocations: 51.41 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.659e-05/0.3565, allocations: 101.8 kB / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.3565, allocations: 25.7 kB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.911e-05/0.3566, allocations: 80.14 kB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.3566, allocations: 4.297 kB / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.3566, allocations: 25.66 kB / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3568, allocations: 314.8 kB / 1.287 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.416e-05/0.3568, allocations: 11.98 kB / 1.287 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.904e-05/0.3568, allocations: 13.72 kB / 1.287 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.95e-05/0.3569, allocations: 21.72 kB / 1.287 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.3569, allocations: 4 kB / 1.287 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001074/0.357, allocations: 53.62 kB / 1.287 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.357, allocations: 4 kB / 1.287 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.357, allocations: 4.062 kB / 1.287 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.357, allocations: 3.938 kB / 1.287 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.358e-05/0.3571, allocations: 12 kB / 1.287 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.3571, allocations: 0 / 1.287 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.791e-05/0.3571, allocations: 0 / 1.287 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.3571, allocations: 11.92 kB / 1.287 GB, free: 8.578 MB / 0.9825 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.375e-05/0.3572, allocations: 105.8 kB / 1.287 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.3572, allocations: 8.094 kB / 1.287 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001388/0.3574, allocations: 65.23 kB / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3574, allocations: 4 kB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3574, allocations: 0 / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.3574, allocations: 0 / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.3575, allocations: 105.3 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.3575, allocations: 4 kB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.174e-05/0.3575, allocations: 4 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3575, allocations: 0 / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.3575, allocations: 4 kB / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/0.3575, allocations: 7.875 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3575, allocations: 0 / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.3577, allocations: 81.11 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.474e-06/0.3577, allocations: 4.031 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.3577, allocations: 0 / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.028e-05/0.3578, allocations: 7.938 kB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.913e-05/0.3578, allocations: 4 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.3578, allocations: 0 / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.868e-05/0.3578, allocations: 79.27 kB / 1.287 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3578, allocations: 0 / 1.287 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002146/0.358, allocations: 23.94 kB / 1.287 GB, free: 8.016 MB / 0.9825 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.0002136/0.3583, allocations: 133.7 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001007/0.3584, allocations: 15.94 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3584, allocations: 0 / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.054e-05/0.3584, allocations: 11.98 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.3585, allocations: 4 kB / 1.287 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003152/0.3588, allocations: 139.1 kB / 1.288 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.004e-05/0.3589, allocations: 63.34 kB / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.201e-05/0.3589, allocations: 7.438 kB / 1.288 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/0.3589, allocations: 0 / 1.288 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of Templates: time 0.002585/0.3615, allocations: 0.7865 MB / 1.288 GB, free: 6.805 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 11.727359328884631] Failed to read output from testmodel.py, exit status != 0: 0.8999252561479807 0.38579765299999996 0.028496137 Calling exit ...