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.001796/0.001796, allocations: 110.2 kB / 19.69 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.002243/0.002243, allocations: 215.1 kB / 23.01 MB, free: 4.566 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.535/1.535, allocations: 230.6 MB / 256.8 MB, free: 8.043 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 2.932/2.932, allocations: 476.7 MB / 0.7714 GB, free: 4.27 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.002025/0.002025, allocations: 66.61 kB / 1.119 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3595, allocations: 170 MB / 1.285 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001833/0.3613, allocations: 0.6072 MB / 1.285 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0007677/0.3621, allocations: 342.9 kB / 1.286 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.759e-05/0.3621, allocations: 0 / 1.286 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.432e-05/0.3621, allocations: 0 / 1.286 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.614e-05/0.3621, allocations: 4 kB / 1.286 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005049/0.3626, allocations: 124.4 kB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.8e-05/0.3627, allocations: 11.97 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.613e-05/0.3628, allocations: 0 / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.993e-05/0.3628, allocations: 11.88 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.835e-05/0.3629, allocations: 4 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.3629, allocations: 0 / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004867/0.3634, allocations: 275.6 kB / 1.286 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/0.3634, allocations: 8 kB / 1.286 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.307e-05/0.3634, allocations: 7.922 kB / 1.286 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.3636, allocations: 87.73 kB / 1.286 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.3636, allocations: 4 kB / 1.286 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3636, allocations: 0 / 1.286 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.3636, allocations: 4 kB / 1.286 GB, free: 9.73 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.0004146/0.364, allocations: 262.2 kB / 1.286 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.3641, allocations: 8.031 kB / 1.286 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.772e-05/0.3641, allocations: 8.891 kB / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.3643, allocations: 118.4 kB / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.3643, allocations: 384 / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.3643, allocations: 4.375 kB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.3644, allocations: 34.25 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.3644, allocations: 192 / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.3644, allocations: 7.938 kB / 1.287 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.3644, allocations: 0 / 1.287 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.477e-05/0.3645, allocations: 7.938 kB / 1.287 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000186/0.3647, allocations: 120.8 kB / 1.287 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.826e-05/0.3647, allocations: 34.53 kB / 1.287 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.184e-05/0.3647, allocations: 8.922 kB / 1.287 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006209/0.3654, allocations: 79.91 kB / 1.287 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.3654, allocations: 30.56 kB / 1.287 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3654, allocations: 0 / 1.287 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.00052/0.3659, allocations: 177.2 kB / 1.287 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.3659, allocations: 51.41 kB / 1.287 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.091e-05/0.366, allocations: 102.1 kB / 1.287 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.366, allocations: 25.7 kB / 1.287 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.089e-05/0.3661, allocations: 80.14 kB / 1.287 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.3661, allocations: 11.94 kB / 1.287 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.611e-05/0.3662, allocations: 17.7 kB / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3663, allocations: 318.8 kB / 1.288 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.56e-05/0.3663, allocations: 0 / 1.288 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.499e-05/0.3664, allocations: 25.83 kB / 1.288 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.777e-05/0.3665, allocations: 25.66 kB / 1.288 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.3665, allocations: 0 / 1.288 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000111/0.3666, allocations: 61.58 kB / 1.288 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.3666, allocations: 7.938 kB / 1.288 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.3666, allocations: 7.938 kB / 1.288 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.3666, allocations: 0 / 1.288 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.72e-05/0.3667, allocations: 8.062 kB / 1.288 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.3667, allocations: 4 kB / 1.288 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.975e-05/0.3667, allocations: 0 / 1.288 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.3667, allocations: 0 / 1.288 GB, free: 7.891 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 9.7e-05/0.3668, allocations: 109.8 kB / 1.288 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.385e-05/0.3668, allocations: 3.938 kB / 1.288 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001434/0.367, allocations: 61.3 kB / 1.288 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.367, allocations: 4 kB / 1.288 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.367, allocations: 0 / 1.288 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.367, allocations: 0 / 1.288 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.3671, allocations: 124.8 kB / 1.288 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3671, allocations: 7.938 kB / 1.288 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.965e-05/0.3671, allocations: 4 kB / 1.288 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.3671, allocations: 3.938 kB / 1.288 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.3672, allocations: 0 / 1.288 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3672, allocations: 0 / 1.288 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3672, allocations: 0 / 1.288 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.3673, allocations: 85.11 kB / 1.288 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-06/0.3673, allocations: 0 / 1.288 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.3673, allocations: 7.938 kB / 1.288 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.715e-05/0.3674, allocations: 3.938 kB / 1.288 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.457e-05/0.3674, allocations: 4.031 kB / 1.288 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.3674, allocations: 3.984 kB / 1.288 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.664e-05/0.3675, allocations: 79.28 kB / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3675, allocations: 0 / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002334/0.3677, allocations: 28.09 kB / 1.288 GB, free: 7.293 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.000215/0.3679, allocations: 123.2 kB / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.686e-05/0.368, allocations: 16.23 kB / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.368, allocations: 0 / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.344e-05/0.368, allocations: 15.92 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.3682, allocations: 2.156 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003033/0.3685, allocations: 142.9 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.3688, allocations: 0.6808 MB / 1.289 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.62e-05/0.3688, allocations: 15.38 kB / 1.289 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3688, allocations: 0 / 1.289 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of Templates: time 0.002679/0.3715, allocations: 0.7666 MB / 1.29 GB, free: 5.473 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.700729264004622] Failed to read output from testmodel.py, exit status != 0: 0.8572937770222779 0.39675918800000004 0.029711256000000002 Calling exit ...