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.001613/0.001613, allocations: 114.1 kB / 17.13 MB, free: 5.926 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.00181/0.00181, allocations: 205.5 kB / 20.09 MB, free: 2.977 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.557/1.557, allocations: 230.6 MB / 253.5 MB, free: 15.09 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/3, allocations: 0.49 GB / 0.7923 GB, free: 1.344 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.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: 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.002063/0.002063, allocations: 76.17 kB / 1.15 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.089/1.091, allocations: 176.1 MB / 1.322 GB, free: 25.21 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001724/1.093, allocations: 0.6209 MB / 1.323 GB, free: 24.82 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0006605/1.094, allocations: 356.2 kB / 1.323 GB, free: 24.59 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.059e-05/1.094, allocations: 0 / 1.323 GB, free: 24.59 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.845e-05/1.094, allocations: 3.938 kB / 1.323 GB, free: 24.59 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3e-05/1.094, allocations: 0 / 1.323 GB, free: 24.59 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004601/1.094, allocations: 129 kB / 1.323 GB, free: 24.54 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.982e-05/1.094, allocations: 23.06 kB / 1.323 GB, free: 24.53 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.297e-05/1.094, allocations: 2.875 kB / 1.323 GB, free: 24.53 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.335e-05/1.094, allocations: 13.09 kB / 1.323 GB, free: 24.53 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.792e-05/1.094, allocations: 14.08 kB / 1.323 GB, free: 24.52 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/1.094, allocations: 0 / 1.323 GB, free: 24.52 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003372/1.095, allocations: 267.8 kB / 1.323 GB, free: 24.46 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.756e-05/1.095, allocations: 13.75 kB / 1.323 GB, free: 24.45 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.393e-05/1.095, allocations: 14.38 kB / 1.323 GB, free: 24.44 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001799/1.095, allocations: 104.9 kB / 1.324 GB, free: 24.41 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/1.095, allocations: 7.281 kB / 1.324 GB, free: 24.4 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.593e-06/1.095, allocations: 0 / 1.324 GB, free: 24.4 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.791e-06/1.095, allocations: 0 / 1.324 GB, free: 24.4 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003941/1.095, allocations: 364.9 kB / 1.324 GB, free: 24.02 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/1.095, allocations: 16.02 kB / 1.324 GB, free: 24.01 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.569e-05/1.095, allocations: 3.969 kB / 1.324 GB, free: 24.01 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.423e-05/1.095, allocations: 168.3 kB / 1.324 GB, free: 23.81 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/1.095, allocations: 3.25 kB / 1.324 GB, free: 23.81 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/1.096, allocations: 6.406 kB / 1.324 GB, free: 23.81 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/1.096, allocations: 52.22 kB / 1.324 GB, free: 23.77 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/1.096, allocations: 192 / 1.324 GB, free: 23.77 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/1.096, allocations: 6.875 kB / 1.324 GB, free: 23.76 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/1.096, allocations: 0 / 1.324 GB, free: 23.76 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.266e-05/1.096, allocations: 22.69 kB / 1.324 GB, free: 23.75 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001604/1.096, allocations: 168 kB / 1.324 GB, free: 23.55 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/1.096, allocations: 59.86 kB / 1.324 GB, free: 23.52 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.732e-05/1.096, allocations: 28.17 kB / 1.324 GB, free: 23.5 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006097/1.097, allocations: 456.8 kB / 1.325 GB, free: 23.03 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/1.097, allocations: 40.36 kB / 1.325 GB, free: 22.98 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/1.097, allocations: 0 / 1.325 GB, free: 22.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.00122/1.098, allocations: 0.5887 MB / 1.325 GB, free: 22.46 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/1.098, allocations: 51.41 kB / 1.325 GB, free: 22.4 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.558e-05/1.098, allocations: 102.5 kB / 1.326 GB, free: 22.3 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/1.098, allocations: 29.7 kB / 1.326 GB, free: 22.27 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.864e-05/1.098, allocations: 83.02 kB / 1.326 GB, free: 22.18 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/1.098, allocations: 41.92 kB / 1.326 GB, free: 22.15 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-05/1.098, allocations: 29.91 kB / 1.326 GB, free: 22.12 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.158e-05/1.098, allocations: 320.9 kB / 1.326 GB, free: 21.8 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.702e-05/1.098, allocations: 18.58 kB / 1.326 GB, free: 21.8 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.581e-05/1.098, allocations: 29.03 kB / 1.326 GB, free: 21.79 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.037e-05/1.098, allocations: 58.42 kB / 1.326 GB, free: 21.76 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/1.098, allocations: 0 / 1.326 GB, free: 21.76 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001363/1.098, allocations: 105 kB / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/1.098, allocations: 7.094 kB / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/1.098, allocations: 4 kB / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/1.098, allocations: 0 / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/1.099, allocations: 25.67 kB / 1.326 GB, free: 21.69 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/1.099, allocations: 2.656 kB / 1.326 GB, free: 21.69 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.376e-05/1.099, allocations: 4 kB / 1.326 GB, free: 21.69 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/1.099, allocations: 2.562 kB / 1.326 GB, free: 21.69 MB / 1.061 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 6.266e-05/1.099, allocations: 116.4 kB / 1.326 GB, free: 21.57 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/1.099, allocations: 10.52 kB / 1.326 GB, free: 21.56 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000191/1.099, allocations: 109.8 kB / 1.327 GB, free: 21.48 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/1.099, allocations: 3.312 kB / 1.327 GB, free: 21.48 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/1.099, allocations: 0 / 1.327 GB, free: 21.48 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/1.099, allocations: 3.188 kB / 1.327 GB, free: 21.48 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003361/1.099, allocations: 346.7 kB / 1.327 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/1.099, allocations: 96 / 1.327 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/1.099, allocations: 29.23 kB / 1.327 GB, free: 21.15 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/1.099, allocations: 4 kB / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/1.099, allocations: 2.969 kB / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/1.099, allocations: 0 / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/1.099, allocations: 0 / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/1.1, allocations: 225.3 kB / 1.327 GB, free: 20.97 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.957e-05/1.1, allocations: 91.27 kB / 1.327 GB, free: 20.87 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/1.1, allocations: 0 / 1.327 GB, free: 20.87 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.257e-05/1.1, allocations: 11.19 kB / 1.327 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.886e-05/1.1, allocations: 6.391 kB / 1.327 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/1.1, allocations: 6.859 kB / 1.327 GB, free: 20.86 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.996e-05/1.1, allocations: 81.39 kB / 1.327 GB, free: 20.79 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.1, allocations: 0 / 1.327 GB, free: 20.79 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002825/1.1, allocations: 40.56 kB / 1.327 GB, free: 20.78 MB / 1.061 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.0002446/1.1, allocations: 153.8 kB / 1.327 GB, free: 20.67 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001394/1.1, allocations: 55.59 kB / 1.328 GB, free: 20.66 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.1, allocations: 6.625 kB / 1.328 GB, free: 20.65 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.466e-05/1.1, allocations: 39.06 kB / 1.328 GB, free: 20.64 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/1.101, allocations: 6.938 kB / 1.328 GB, free: 20.63 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003599/1.101, allocations: 199.7 kB / 1.328 GB, free: 20.46 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/1.101, allocations: 0.6875 MB / 1.328 GB, free: 19.77 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.178e-05/1.101, allocations: 13.06 kB / 1.328 GB, free: 19.76 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/1.101, allocations: 0.8125 kB / 1.328 GB, free: 19.76 MB / 1.061 GB Notification: Performance of Templates: time 0.003656/1.105, allocations: 1.215 MB / 1.33 GB, free: 19.65 MB / 1.061 GB " [Timeout remaining time 299] 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: 11.825968109988025] Failed to read output from testmodel.py, exit status != 0: 1.1134480299951974 1.126257612 0.028655686000000003 Calling exit ...