Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007978/0.0007978, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0007906/0.0007906, allocations: 181.9 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.926/0.926, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.743/1.743, allocations: 377.9 MB / 0.6228 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 0.9823 GB, free: 2.043 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.701e-05, allocations: 2.281 kB / 0.9823 GB, free: 2.039 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001175/0.001202, allocations: 0.6213 MB / 0.9829 GB, free: 1.422 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0004848/0.001687, allocations: 318.8 kB / 0.9832 GB, free: 1.109 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.487e-05/0.001712, allocations: 7.938 kB / 0.9832 GB, free: 1.102 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.643e-05/0.001728, allocations: 0 / 0.9832 GB, free: 1.102 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 2.615e-05/0.001754, allocations: 0 / 0.9832 GB, free: 1.102 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003772/0.002131, allocations: 125.5 kB / 0.9833 GB, free: 0.9805 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.857e-05/0.00219, allocations: 23.97 kB / 0.9833 GB, free: 0.957 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.824e-05/0.002228, allocations: 4 kB / 0.9833 GB, free: 0.9531 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.254e-05/0.002281, allocations: 15.92 kB / 0.9833 GB, free: 0.9375 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.056e-05/0.002331, allocations: 15.97 kB / 0.9833 GB, free: 0.9219 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.002347, allocations: 8 kB / 0.9834 GB, free: 0.9141 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000253/0.0026, allocations: 255.6 kB / 0.9836 GB, free: 0.6641 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.337e-05/0.002613, allocations: 0 / 0.9836 GB, free: 0.6641 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.194e-05/0.002635, allocations: 15.92 kB / 0.9836 GB, free: 0.6484 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.002821, allocations: 131.6 kB / 0.9837 GB, free: 0.5195 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.002824, allocations: 0 / 0.9837 GB, free: 0.5195 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.232e-06/0.002825, allocations: 0 / 0.9837 GB, free: 0.5195 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.002829, allocations: 0 / 0.9837 GB, free: 0.5195 MB / 0.9323 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.0003465/0.003176, allocations: 290 kB / 0.984 GB, free: 208 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.003213, allocations: 8.031 kB / 0.984 GB, free: 200 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.719e-05/0.00327, allocations: 16.88 kB / 0.984 GB, free: 184 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.684e-05/0.003347, allocations: 101.8 kB / 0.9841 GB, free: 56 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.003357, allocations: 4.375 kB / 0.9841 GB, free: 52 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.00338, allocations: 8.375 kB / 0.9842 GB, free: 44 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.003512, allocations: 97.59 kB / 0.9842 GB, free: 15.93 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.003523, allocations: 4.188 kB / 0.9842 GB, free: 15.93 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.003535, allocations: 8.359 kB / 0.9843 GB, free: 15.92 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.00354, allocations: 384 / 0.9843 GB, free: 15.92 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.262e-05/0.003582, allocations: 19.92 kB / 0.9843 GB, free: 15.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001246/0.003707, allocations: 129.2 kB / 0.9844 GB, free: 15.74 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.245e-05/0.003799, allocations: 62.5 kB / 0.9845 GB, free: 15.67 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.461e-05/0.003834, allocations: 32.78 kB / 0.9845 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003366/0.00417, allocations: 67.92 kB / 0.9846 GB, free: 15.57 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.004195, allocations: 34.56 kB / 0.9846 GB, free: 15.53 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 9.51e-07/0.004196, allocations: 4 kB / 0.9846 GB, free: 15.52 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0008572/0.005053, allocations: 447.5 kB / 0.985 GB, free: 15.03 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.005082, allocations: 51.41 kB / 0.9851 GB, free: 14.97 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.983e-05/0.005132, allocations: 101.8 kB / 0.9852 GB, free: 14.86 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.005143, allocations: 29.7 kB / 0.9852 GB, free: 14.82 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.416e-05/0.005167, allocations: 84.08 kB / 0.9853 GB, free: 14.74 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.005202, allocations: 43.73 kB / 0.9853 GB, free: 14.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.005237, allocations: 29.66 kB / 0.9853 GB, free: 14.66 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.899e-05/0.005316, allocations: 322.8 kB / 0.9856 GB, free: 14.34 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.21e-05/0.005348, allocations: 16 kB / 0.9857 GB, free: 14.32 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.84e-05/0.005377, allocations: 23.98 kB / 0.9857 GB, free: 14.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.959e-05/0.005446, allocations: 54.98 kB / 0.9857 GB, free: 14.24 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.005449, allocations: 7.922 kB / 0.9857 GB, free: 14.23 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001123/0.005561, allocations: 93.69 kB / 0.9858 GB, free: 14.14 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.005574, allocations: 4 kB / 0.9858 GB, free: 14.13 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.005579, allocations: 0 / 0.9858 GB, free: 14.13 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.005591, allocations: 3.938 kB / 0.9858 GB, free: 14.13 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.985e-05/0.005671, allocations: 23.98 kB / 0.9859 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.005676, allocations: 4 kB / 0.9859 GB, free: 14.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.486e-05/0.005691, allocations: 4 kB / 0.9859 GB, free: 14.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.463e-06/0.005697, allocations: 4 kB / 0.9859 GB, free: 14.09 MB / 0.948 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.905e-05/0.005756, allocations: 117.8 kB / 0.986 GB, free: 13.97 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.539e-05/0.005772, allocations: 3.953 kB / 0.986 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/0.005907, allocations: 110 kB / 0.9861 GB, free: 13.86 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.005911, allocations: 3.938 kB / 0.9861 GB, free: 13.85 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.005915, allocations: 0 / 0.9861 GB, free: 13.85 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.005919, allocations: 4 kB / 0.9861 GB, free: 13.85 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002752/0.006194, allocations: 294.2 kB / 0.9864 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.006196, allocations: 0 / 0.9864 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.671e-05/0.006272, allocations: 23.98 kB / 0.9864 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.006275, allocations: 3.938 kB / 0.9864 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.006282, allocations: 7.938 kB / 0.9864 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.006283, allocations: 0 / 0.9864 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.006284, allocations: 0 / 0.9864 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.006469, allocations: 219.6 kB / 0.9866 GB, free: 13.26 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.353e-05/0.006492, allocations: 15.95 kB / 0.9866 GB, free: 13.24 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.006505, allocations: 7.938 kB / 0.9867 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.739e-05/0.006553, allocations: 4 kB / 0.9867 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.569e-05/0.006568, allocations: 8.047 kB / 0.9867 GB, free: 13.22 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.006575, allocations: 11.94 kB / 0.9867 GB, free: 13.21 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001649/0.00674, allocations: 79.28 kB / 0.9868 GB, free: 13.13 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.00674, allocations: 0 / 0.9868 GB, free: 13.13 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001941/0.006934, allocations: 47.86 kB / 0.9868 GB, free: 13.09 MB / 0.948 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.0001838/0.007118, allocations: 147 kB / 0.9869 GB, free: 12.93 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001162/0.007234, allocations: 59.91 kB / 0.987 GB, free: 12.87 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.007235, allocations: 0 / 0.987 GB, free: 12.87 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.047e-05/0.007266, allocations: 27.94 kB / 0.987 GB, free: 12.84 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.007428, allocations: 16.64 kB / 0.987 GB, free: 12.83 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002902/0.007718, allocations: 186.5 kB / 0.9872 GB, free: 12.61 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.456e-05/0.007762, allocations: 71.2 kB / 0.9873 GB, free: 12.52 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.416e-05/0.007786, allocations: 20.48 kB / 0.9873 GB, free: 12.5 MB / 0.948 GB Notification: Performance of SimCode: time 5.11e-07/0.007787, allocations: 0 / 0.9873 GB, free: 12.5 MB / 0.948 GB Notification: Performance of Templates: time 0.001989/0.009776, allocations: 1.249 MB / 0.9885 GB, free: 11.26 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 6.46554487477988] Failed to read output from testmodel.py, exit status != 0: 0.015297489240765572 0.023618212000000003 0.019135244000000003 Calling exit ...