Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001875/0.001875, 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.00191/0.00191, allocations: 213.5 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.544/1.544, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.332/3.332, allocations: 0.4892 GB / 0.7951 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_12_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_12_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.002073/0.002073, allocations: 67.02 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.371, allocations: 176.1 MB / 1.326 GB, free: 1.836 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001947/0.3729, allocations: 0.5826 MB / 1.327 GB, free: 1.258 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0007449/0.3736, allocations: 319.2 kB / 1.327 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.759e-05/0.3737, allocations: 0 / 1.327 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.242e-05/0.3737, allocations: 0 / 1.327 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.334e-05/0.3737, allocations: 0 / 1.327 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004941/0.3742, allocations: 118.9 kB / 1.327 GB, free: 0.832 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.183e-05/0.3743, allocations: 15.98 kB / 1.327 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.104e-05/0.3743, allocations: 0 / 1.327 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.833e-05/0.3743, allocations: 4 kB / 1.327 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.147e-05/0.3744, allocations: 11.92 kB / 1.327 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.3744, allocations: 3.938 kB / 1.327 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004103/0.3748, allocations: 259.7 kB / 1.328 GB, free: 0.543 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.341e-05/0.3748, allocations: 0 / 1.328 GB, free: 0.543 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.234e-05/0.3749, allocations: 8 kB / 1.328 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.3751, allocations: 99.64 kB / 1.328 GB, free: 448 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3751, allocations: 0 / 1.328 GB, free: 448 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3751, allocations: 0 / 1.328 GB, free: 448 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.3751, allocations: 0 / 1.328 GB, free: 448 kB / 1.014 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.0004137/0.3755, allocations: 267.2 kB / 1.328 GB, free: 148 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.3755, allocations: 8.031 kB / 1.328 GB, free: 140 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.682e-05/0.3756, allocations: 8.891 kB / 1.328 GB, free: 132 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.3757, allocations: 110.5 kB / 1.328 GB, free: 16 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.3758, allocations: 8.359 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/0.3758, allocations: 4.312 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.3759, allocations: 59.97 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.3759, allocations: 4.188 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.3759, allocations: 3.938 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.376, allocations: 0 / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.927e-05/0.376, allocations: 0 / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000158/0.3761, allocations: 105.3 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.182e-05/0.3762, allocations: 22.61 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.371e-05/0.3762, allocations: 12.86 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005593/0.3768, allocations: 79.91 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.3768, allocations: 34.56 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3768, allocations: 0 / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005371/0.3773, allocations: 173.2 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.3774, allocations: 55.41 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.655e-05/0.3775, allocations: 93.86 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.3775, allocations: 29.7 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.73e-05/0.3775, allocations: 80.14 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.3776, allocations: 12.28 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.249e-05/0.3776, allocations: 17.72 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3777, allocations: 318.8 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.052e-05/0.3777, allocations: 8 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.064e-05/0.3778, allocations: 21.7 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.756e-05/0.3778, allocations: 29.66 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.32e-07/0.3778, allocations: 0 / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001004/0.3779, allocations: 53.64 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.378, allocations: 8 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.378, allocations: 8 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.872e-05/0.378, allocations: 3.938 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.881e-05/0.378, allocations: 7.938 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.378, allocations: 4 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.702e-05/0.3781, allocations: 0 / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.3781, allocations: 0 / 1.329 GB, free: 14.6 MB / 1.029 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.802e-05/0.3782, allocations: 110.4 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.3782, allocations: 3.984 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001552/0.3783, allocations: 57.31 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3783, allocations: 7.938 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.3783, allocations: 4 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3783, allocations: 192 / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.3784, allocations: 109.3 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3784, allocations: 0 / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.17e-05/0.3785, allocations: 7.984 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.3785, allocations: 0 / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.3785, allocations: 0 / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.3785, allocations: 3.938 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3785, allocations: 0 / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.3787, allocations: 81.12 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.804e-06/0.3787, allocations: 3.984 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.3787, allocations: 8.031 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.681e-05/0.3787, allocations: 3.938 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.237e-05/0.3787, allocations: 0 / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.3788, allocations: 4 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.019e-05/0.3788, allocations: 79.22 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3788, allocations: 0 / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002137/0.379, allocations: 27.92 kB / 1.33 GB, free: 14.03 MB / 1.029 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.000286/0.3793, allocations: 127.3 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001017/0.3794, allocations: 15.98 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3794, allocations: 0 / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.18e-05/0.3794, allocations: 11.94 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.3796, allocations: 6.031 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003299/0.3799, allocations: 151.1 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.21e-05/0.3799, allocations: 55.36 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.562e-05/0.38, allocations: 11.44 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.38, allocations: 0 / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of Templates: time 0.002676/0.3827, allocations: 0.7834 MB / 1.331 GB, free: 12.81 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 11.429303877055645] Failed to read output from testmodel.py, exit status != 0: 0.39136854093521833 0.406648283 0.028435383 Calling exit ...