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.001714/0.001714, allocations: 113.8 kB / 17.13 MB, free: 6.008 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.002022/0.002022, allocations: 213.8 kB / 20.1 MB, free: 3.055 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.551/1.551, allocations: 230.6 MB / 253.5 MB, free: 15.05 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.083/3.083, allocations: 0.49 GB / 0.7923 GB, free: 1.297 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.002036/0.002036, allocations: 72.14 kB / 1.15 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.088/1.09, allocations: 176.1 MB / 1.322 GB, free: 25.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.00172/1.092, allocations: 0.5969 MB / 1.323 GB, free: 24.64 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0006035/1.093, allocations: 356.8 kB / 1.323 GB, free: 24.41 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.88e-05/1.093, allocations: 0 / 1.323 GB, free: 24.41 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.9e-05/1.093, allocations: 3.938 kB / 1.323 GB, free: 24.41 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.036e-05/1.093, allocations: 0 / 1.323 GB, free: 24.41 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004449/1.093, allocations: 119.4 kB / 1.323 GB, free: 24.36 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.086e-05/1.093, allocations: 5.719 kB / 1.323 GB, free: 24.36 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.029e-05/1.093, allocations: 7.266 kB / 1.323 GB, free: 24.36 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.753e-05/1.093, allocations: 6.594 kB / 1.323 GB, free: 24.36 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.626e-05/1.093, allocations: 6.656 kB / 1.323 GB, free: 24.35 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/1.093, allocations: 0 / 1.323 GB, free: 24.35 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003227/1.094, allocations: 274.2 kB / 1.323 GB, free: 24.29 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.189e-05/1.094, allocations: 2.156 kB / 1.323 GB, free: 24.29 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.892e-05/1.094, allocations: 6.312 kB / 1.323 GB, free: 24.28 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001623/1.094, allocations: 93.27 kB / 1.323 GB, free: 24.26 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/1.094, allocations: 4 kB / 1.323 GB, free: 24.25 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.202e-06/1.094, allocations: 0 / 1.323 GB, free: 24.25 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.021e-06/1.094, allocations: 0 / 1.323 GB, free: 24.25 MB / 1.061 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.0003236/1.094, allocations: 349.3 kB / 1.324 GB, free: 23.88 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/1.094, allocations: 15.39 kB / 1.324 GB, free: 23.88 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.03e-05/1.094, allocations: 4.938 kB / 1.324 GB, free: 23.87 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.392e-05/1.094, allocations: 163.2 kB / 1.324 GB, free: 23.68 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/1.094, allocations: 384 / 1.324 GB, free: 23.68 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/1.094, allocations: 384 / 1.324 GB, free: 23.68 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.944e-05/1.095, allocations: 47.05 kB / 1.324 GB, free: 23.63 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/1.095, allocations: 192 / 1.324 GB, free: 23.63 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/1.095, allocations: 3.938 kB / 1.324 GB, free: 23.63 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/1.095, allocations: 0 / 1.324 GB, free: 23.63 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.983e-05/1.095, allocations: 2.906 kB / 1.324 GB, free: 23.63 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001344/1.095, allocations: 151.9 kB / 1.324 GB, free: 23.44 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.486e-05/1.095, allocations: 23.69 kB / 1.324 GB, free: 23.41 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.893e-05/1.095, allocations: 19.61 kB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006188/1.095, allocations: 453.7 kB / 1.325 GB, free: 22.92 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/1.095, allocations: 40.83 kB / 1.325 GB, free: 22.88 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/1.095, allocations: 0 / 1.325 GB, free: 22.88 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.000465/1.096, allocations: 253 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/1.096, allocations: 54.12 kB / 1.325 GB, free: 22.55 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.46e-05/1.096, allocations: 96.52 kB / 1.325 GB, free: 22.45 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/1.096, allocations: 25.7 kB / 1.325 GB, free: 22.42 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.865e-05/1.096, allocations: 84.48 kB / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/1.096, allocations: 14.73 kB / 1.325 GB, free: 22.32 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/1.096, allocations: 12.56 kB / 1.325 GB, free: 22.31 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.754e-05/1.096, allocations: 314.8 kB / 1.325 GB, free: 21.99 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.731e-05/1.096, allocations: 6.047 kB / 1.325 GB, free: 21.99 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.293e-05/1.096, allocations: 23.34 kB / 1.325 GB, free: 21.97 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.229e-05/1.096, allocations: 32.16 kB / 1.326 GB, free: 21.94 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/1.096, allocations: 0 / 1.326 GB, free: 21.94 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.577e-05/1.096, allocations: 53.09 kB / 1.326 GB, free: 21.9 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/1.096, allocations: 9.625 kB / 1.326 GB, free: 21.9 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/1.096, allocations: 0 / 1.326 GB, free: 21.9 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/1.096, allocations: 3.938 kB / 1.326 GB, free: 21.89 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.927e-05/1.096, allocations: 11.92 kB / 1.326 GB, free: 21.89 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/1.096, allocations: 0 / 1.326 GB, free: 21.89 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.706e-05/1.096, allocations: 0 / 1.326 GB, free: 21.89 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/1.096, allocations: 2.969 kB / 1.326 GB, free: 21.89 MB / 1.061 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 4.704e-05/1.096, allocations: 113.8 kB / 1.326 GB, free: 21.77 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/1.096, allocations: 6.891 kB / 1.326 GB, free: 21.77 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/1.097, allocations: 54.84 kB / 1.326 GB, free: 21.72 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/1.097, allocations: 0 / 1.326 GB, free: 21.72 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/1.097, allocations: 6.75 kB / 1.326 GB, free: 21.72 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/1.097, allocations: 0 / 1.326 GB, free: 21.72 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.109e-05/1.097, allocations: 156.1 kB / 1.326 GB, free: 21.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/1.097, allocations: 4 kB / 1.326 GB, free: 21.52 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.979e-05/1.097, allocations: 9.422 kB / 1.326 GB, free: 21.52 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/1.097, allocations: 3.938 kB / 1.326 GB, free: 21.52 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/1.097, allocations: 3.938 kB / 1.326 GB, free: 21.51 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/1.097, allocations: 0 / 1.326 GB, free: 21.51 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.097, allocations: 7 kB / 1.326 GB, free: 21.51 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/1.097, allocations: 74.14 kB / 1.326 GB, free: 21.44 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.737e-05/1.097, allocations: 80.27 kB / 1.326 GB, free: 21.34 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/1.097, allocations: 8 kB / 1.326 GB, free: 21.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.581e-05/1.097, allocations: 0 / 1.326 GB, free: 21.34 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.322e-05/1.097, allocations: 3.062 kB / 1.326 GB, free: 21.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/1.097, allocations: 0 / 1.326 GB, free: 21.34 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.175e-05/1.097, allocations: 85.67 kB / 1.326 GB, free: 21.26 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/1.097, allocations: 0 / 1.326 GB, free: 21.26 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002099/1.097, allocations: 27.56 kB / 1.326 GB, free: 21.25 MB / 1.061 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.000191/1.097, allocations: 125.4 kB / 1.326 GB, free: 21.15 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.664e-05/1.097, allocations: 17.97 kB / 1.326 GB, free: 21.15 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/1.097, allocations: 0 / 1.326 GB, free: 21.15 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.551e-05/1.097, allocations: 9.406 kB / 1.326 GB, free: 21.14 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/1.098, allocations: 6.531 kB / 1.326 GB, free: 21.14 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002396/1.098, allocations: 142.6 kB / 1.326 GB, free: 20.99 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/1.098, allocations: 0.677 MB / 1.327 GB, free: 20.3 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.892e-05/1.098, allocations: 9.969 kB / 1.327 GB, free: 20.29 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/1.098, allocations: 4.125 kB / 1.327 GB, free: 20.29 MB / 1.061 GB Notification: Performance of Templates: time 0.002213/1.1, allocations: 0.7688 MB / 1.328 GB, free: 20.23 MB / 1.061 GB " [Timeout remaining time 299] 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.84873879099905] Failed to read output from testmodel.py, exit status != 0: 1.1087013040087186 1.12146253 0.024847304 Calling exit ...