Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001488/0.001488, 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.001429/0.001429, allocations: 220.1 kB / 23.01 MB, free: 4.609 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.363/3.363, allocations: 0.505 GB / 0.8108 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [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.002092/0.002092, allocations: 75.73 kB / 1.178 GB, free: 16.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3285, allocations: 180.2 MB / 1.354 GB, free: 7.906 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001784/0.3303, allocations: 0.6355 MB / 1.355 GB, free: 7.273 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0007707/0.3311, allocations: 355.1 kB / 1.355 GB, free: 6.926 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.818e-05/0.3311, allocations: 0 / 1.355 GB, free: 6.926 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.876e-05/0.3311, allocations: 3.938 kB / 1.355 GB, free: 6.922 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 2.805e-05/0.3311, allocations: 0 / 1.355 GB, free: 6.922 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004694/0.3316, allocations: 121.8 kB / 1.355 GB, free: 6.805 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.031e-05/0.3317, allocations: 23.98 kB / 1.355 GB, free: 6.781 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.423e-05/0.3317, allocations: 0 / 1.355 GB, free: 6.781 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.771e-05/0.3318, allocations: 23.91 kB / 1.355 GB, free: 6.758 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.766e-05/0.3318, allocations: 11.92 kB / 1.355 GB, free: 6.746 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.3318, allocations: 4 kB / 1.355 GB, free: 6.742 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004185/0.3323, allocations: 275.7 kB / 1.356 GB, free: 6.473 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.134e-05/0.3323, allocations: 0 / 1.356 GB, free: 6.473 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.103e-05/0.3323, allocations: 19.91 kB / 1.356 GB, free: 6.453 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.3325, allocations: 99.66 kB / 1.356 GB, free: 6.355 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3325, allocations: 0 / 1.356 GB, free: 6.355 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3325, allocations: 0 / 1.356 GB, free: 6.355 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.3325, allocations: 8 kB / 1.356 GB, free: 6.348 MB / 1.045 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.0004578/0.333, allocations: 290 kB / 1.356 GB, free: 6.031 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.333, allocations: 15.97 kB / 1.356 GB, free: 6.016 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.158e-05/0.3331, allocations: 4.891 kB / 1.356 GB, free: 6.012 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.3332, allocations: 110.5 kB / 1.356 GB, free: 5.879 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.3332, allocations: 4.375 kB / 1.356 GB, free: 5.875 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.3332, allocations: 8.312 kB / 1.356 GB, free: 5.867 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.3334, allocations: 50.25 kB / 1.356 GB, free: 5.812 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.3334, allocations: 4.188 kB / 1.356 GB, free: 5.809 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.3334, allocations: 3.938 kB / 1.356 GB, free: 5.805 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-06/0.3334, allocations: 0 / 1.356 GB, free: 5.805 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.391e-05/0.3334, allocations: 19.98 kB / 1.356 GB, free: 5.785 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001868/0.3336, allocations: 144.7 kB / 1.356 GB, free: 5.602 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.3337, allocations: 50.56 kB / 1.356 GB, free: 5.543 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.764e-05/0.3338, allocations: 28.84 kB / 1.356 GB, free: 5.512 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000599/0.3344, allocations: 79.92 kB / 1.356 GB, free: 5.434 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.3344, allocations: 30.56 kB / 1.356 GB, free: 5.395 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.3344, allocations: 0 / 1.356 GB, free: 5.395 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.001218/0.3356, allocations: 467.4 kB / 1.357 GB, free: 4.883 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.3356, allocations: 51.41 kB / 1.357 GB, free: 4.82 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.67e-05/0.3357, allocations: 101.8 kB / 1.357 GB, free: 4.711 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.3357, allocations: 33.7 kB / 1.357 GB, free: 4.672 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.82e-05/0.3358, allocations: 84.14 kB / 1.357 GB, free: 4.586 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.482e-05/0.3358, allocations: 39.64 kB / 1.357 GB, free: 4.547 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.412e-05/0.3359, allocations: 25.72 kB / 1.357 GB, free: 4.516 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.336, allocations: 318.8 kB / 1.358 GB, free: 4.195 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.771e-05/0.336, allocations: 16 kB / 1.358 GB, free: 4.18 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.94e-05/0.3361, allocations: 27.98 kB / 1.358 GB, free: 4.152 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.527e-05/0.3362, allocations: 59.09 kB / 1.358 GB, free: 4.094 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.3362, allocations: 0 / 1.358 GB, free: 4.094 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001537/0.3363, allocations: 97.62 kB / 1.358 GB, free: 3.992 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.3364, allocations: 8 kB / 1.358 GB, free: 3.984 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.3364, allocations: 0 / 1.358 GB, free: 3.984 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.3364, allocations: 0 / 1.358 GB, free: 3.984 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.3365, allocations: 23.92 kB / 1.358 GB, free: 3.961 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.3365, allocations: 4 kB / 1.358 GB, free: 3.957 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.472e-05/0.3365, allocations: 4 kB / 1.358 GB, free: 3.953 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.3365, allocations: 7.938 kB / 1.358 GB, free: 3.945 MB / 1.045 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 9.736e-05/0.3366, allocations: 114.4 kB / 1.358 GB, free: 3.824 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.3366, allocations: 15.89 kB / 1.358 GB, free: 3.809 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001865/0.3368, allocations: 105.7 kB / 1.358 GB, free: 3.699 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.3368, allocations: 4 kB / 1.358 GB, free: 3.695 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3368, allocations: 0 / 1.358 GB, free: 3.695 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3368, allocations: 0 / 1.358 GB, free: 3.695 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003967/0.3372, allocations: 325.5 kB / 1.358 GB, free: 3.328 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3372, allocations: 0 / 1.358 GB, free: 3.328 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.3373, allocations: 23.92 kB / 1.358 GB, free: 3.305 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.3374, allocations: 4 kB / 1.358 GB, free: 3.301 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.3374, allocations: 8 kB / 1.358 GB, free: 3.293 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3374, allocations: 96 / 1.358 GB, free: 3.293 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3374, allocations: 3.938 kB / 1.358 GB, free: 3.289 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.3376, allocations: 223.4 kB / 1.359 GB, free: 3.055 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.005e-05/0.3377, allocations: 11.97 kB / 1.359 GB, free: 3.043 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.3377, allocations: 0 / 1.359 GB, free: 3.043 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.078e-05/0.3378, allocations: 4 kB / 1.359 GB, free: 3.039 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.541e-05/0.3378, allocations: 11.92 kB / 1.359 GB, free: 3.027 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.3378, allocations: 8.062 kB / 1.359 GB, free: 3.02 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.071e-05/0.3378, allocations: 79.27 kB / 1.359 GB, free: 2.941 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3378, allocations: 0 / 1.359 GB, free: 2.941 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002735/0.3381, allocations: 47.88 kB / 1.359 GB, free: 2.895 MB / 1.045 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.0002337/0.3383, allocations: 135.2 kB / 1.359 GB, free: 2.754 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001537/0.3385, allocations: 64.28 kB / 1.359 GB, free: 2.691 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3385, allocations: 0 / 1.359 GB, free: 2.691 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.04e-05/0.3385, allocations: 31.92 kB / 1.359 GB, free: 2.66 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.3388, allocations: 16.27 kB / 1.359 GB, free: 2.645 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003845/0.3391, allocations: 203.7 kB / 1.359 GB, free: 2.41 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.3395, allocations: 0.6923 MB / 1.36 GB, free: 1.691 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.964e-05/0.3395, allocations: 11.44 kB / 1.36 GB, free: 1.68 MB / 1.045 GB Notification: Performance of SimCode: time 3.2e-07/0.3395, allocations: 0 / 1.36 GB, free: 1.68 MB / 1.045 GB Notification: Performance of Templates: time 0.003062/0.3426, allocations: 1.221 MB / 1.361 GB, free: 476 kB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 11.159633646020666] Failed to read output from testmodel.py, exit status != 0: 0.35044822900090367 0.36510931700000004 0.029595458 Calling exit ...