Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008899/0.0008899, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.001218/0.001218, allocations: 178.2 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8741/0.8741, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.605/1.605, allocations: 359 MB / 0.6044 GB, free: 11.06 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 0.9518 GB, free: 2.906 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.069e-05/3.249e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.902 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001321/0.001354, allocations: 0.6248 MB / 0.9524 GB, free: 2.273 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0005793/0.001933, allocations: 314.8 kB / 0.9527 GB, free: 1.965 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.493e-05/0.001958, allocations: 0 / 0.9527 GB, free: 1.965 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.845e-05/0.001976, allocations: 3.938 kB / 0.9527 GB, free: 1.961 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 2.987e-05/0.002006, allocations: 3.938 kB / 0.9527 GB, free: 1.957 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000397/0.002403, allocations: 119.6 kB / 0.9528 GB, free: 1.84 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.579e-05/0.002469, allocations: 23.97 kB / 0.9528 GB, free: 1.816 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.607e-05/0.002515, allocations: 7.938 kB / 0.9528 GB, free: 1.809 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.058e-05/0.002576, allocations: 19.91 kB / 0.9529 GB, free: 1.789 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.315e-05/0.002629, allocations: 4 kB / 0.9529 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.002647, allocations: 4 kB / 0.9529 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002547/0.002901, allocations: 263.6 kB / 0.9531 GB, free: 1.523 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.002916, allocations: 4 kB / 0.9531 GB, free: 1.52 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.921e-05/0.002936, allocations: 15.92 kB / 0.9531 GB, free: 1.504 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.003119, allocations: 135.6 kB / 0.9533 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.003121, allocations: 0 / 0.9533 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.52e-07/0.003122, allocations: 0 / 0.9533 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.003128, allocations: 3.938 kB / 0.9533 GB, free: 1.367 MB / 0.9011 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.0003566/0.003485, allocations: 282.1 kB / 0.9535 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.003522, allocations: 8.031 kB / 0.9536 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.104e-05/0.003583, allocations: 8.891 kB / 0.9536 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.839e-05/0.003662, allocations: 109.7 kB / 0.9537 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.003672, allocations: 4.375 kB / 0.9537 GB, free: 0.9062 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.003695, allocations: 8.375 kB / 0.9537 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.003832, allocations: 109.6 kB / 0.9538 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.003842, allocations: 192 / 0.9538 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.003852, allocations: 384 / 0.9538 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.003857, allocations: 384 / 0.9538 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.637e-05/0.003903, allocations: 27.86 kB / 0.9538 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001188/0.004022, allocations: 105.3 kB / 0.9539 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 8.744e-05/0.00411, allocations: 54.56 kB / 0.954 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.261e-05/0.004142, allocations: 28.84 kB / 0.954 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003246/0.004467, allocations: 79.91 kB / 0.9541 GB, free: 452 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.00449, allocations: 34.56 kB / 0.9541 GB, free: 408 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=7): time 8.91e-07/0.00449, allocations: 0 / 0.9541 GB, free: 408 kB / 0.9011 GB Notification: Performance of matching and sorting (n=11): time 0.0008258/0.005316, allocations: 459.4 kB / 0.9545 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.005347, allocations: 63.33 kB / 0.9546 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.033e-05/0.005398, allocations: 97.86 kB / 0.9547 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.005409, allocations: 29.7 kB / 0.9547 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 2.554e-05/0.005435, allocations: 80.14 kB / 0.9548 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.005466, allocations: 39.64 kB / 0.9548 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.329e-05/0.0055, allocations: 29.72 kB / 0.9549 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.246e-05/0.005572, allocations: 318.8 kB / 0.9552 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.999e-05/0.005602, allocations: 23.98 kB / 0.9552 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.441e-05/0.005627, allocations: 20 kB / 0.9552 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.791e-05/0.005694, allocations: 60.47 kB / 0.9553 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.005696, allocations: 0 / 0.9553 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002001/0.005896, allocations: 97.62 kB / 0.9554 GB, free: 15 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.005908, allocations: 4 kB / 0.9554 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.005913, allocations: 0 / 0.9554 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.005926, allocations: 3.938 kB / 0.9554 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.569e-05/0.006002, allocations: 23.98 kB / 0.9554 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.006007, allocations: 0 / 0.9554 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.252e-05/0.006019, allocations: 0 / 0.9554 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.006027, allocations: 8 kB / 0.9554 GB, free: 14.96 MB / 0.9167 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 5.718e-05/0.006084, allocations: 121.8 kB / 0.9555 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.0061, allocations: 7.953 kB / 0.9555 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001318/0.006232, allocations: 105.7 kB / 0.9556 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.006234, allocations: 3.938 kB / 0.9556 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.006238, allocations: 0 / 0.9556 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.006241, allocations: 4.094 kB / 0.9556 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.006505, allocations: 298.1 kB / 0.9559 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.006506, allocations: 3.938 kB / 0.9559 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.552e-05/0.006572, allocations: 16 kB / 0.9559 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.006576, allocations: 7.938 kB / 0.9559 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.006585, allocations: 11.98 kB / 0.956 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.006587, allocations: 0 / 0.956 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.006588, allocations: 0 / 0.956 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001803/0.006768, allocations: 211.5 kB / 0.9562 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.411e-05/0.006792, allocations: 15.97 kB / 0.9562 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.006804, allocations: 3.938 kB / 0.9562 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.601e-05/0.00685, allocations: 8 kB / 0.9562 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.684e-05/0.006867, allocations: 11.92 kB / 0.9562 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.006871, allocations: 3.938 kB / 0.9562 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.26e-05/0.006894, allocations: 83.27 kB / 0.9563 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006894, allocations: 4.062 kB / 0.9563 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001744/0.007069, allocations: 43.88 kB / 0.9563 GB, free: 13.94 MB / 0.9167 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.0001631/0.007232, allocations: 143.2 kB / 0.9565 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001041/0.007336, allocations: 59.91 kB / 0.9565 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.007337, allocations: 0 / 0.9565 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.916e-05/0.007366, allocations: 27.98 kB / 0.9565 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.00752, allocations: 10.06 kB / 0.9566 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002926/0.007813, allocations: 194.4 kB / 0.9567 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.429e-05/0.007857, allocations: 79.27 kB / 0.9568 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.485e-05/0.007882, allocations: 16.5 kB / 0.9568 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of SimCode: time 4.61e-07/0.007882, allocations: 0 / 0.9568 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of Templates: time 0.00193/0.009812, allocations: 1.248 MB / 0.958 GB, free: 12.12 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 6.341417481191456] Failed to read output from testmodel.py, exit status != 0: 0.015028954483568668 0.022300835 0.017608433 Calling exit ...