Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001391/0.001391, allocations: 120.1 kB / 17.84 MB, free: 5.234 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.00173/0.00173, allocations: 203.9 kB / 20.79 MB, free: 2.297 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.527/1.527, allocations: 230.6 MB / 254.2 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.997/0.997, allocations: 150 MB / 460.2 MB, free: 5.641 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002156/0.002156, allocations: 69.12 kB / 0.6369 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1899, allocations: 89.13 MB / 0.7239 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.00189/0.1918, allocations: 0.6108 MB / 0.7245 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007277/0.1925, allocations: 355.1 kB / 0.7248 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.763e-05/0.1925, allocations: 4 kB / 0.7248 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.518e-05/0.1926, allocations: 3.938 kB / 0.7248 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.018e-05/0.1926, allocations: 0 / 0.7248 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005018/0.1931, allocations: 116.6 kB / 0.725 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.044e-05/0.1932, allocations: 27.92 kB / 0.725 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.554e-05/0.1932, allocations: 0 / 0.725 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.573e-05/0.1932, allocations: 11.94 kB / 0.725 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.259e-05/0.1933, allocations: 23.91 kB / 0.725 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.1933, allocations: 0 / 0.725 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004096/0.1937, allocations: 279.6 kB / 0.7253 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.327e-05/0.1937, allocations: 4 kB / 0.7253 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.526e-05/0.1938, allocations: 15.88 kB / 0.7253 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.194, allocations: 103.9 kB / 0.7254 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.194, allocations: 4 kB / 0.7254 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.523e-06/0.194, allocations: 0 / 0.7254 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.194, allocations: 0 / 0.7254 GB, free: 2.586 MB / 0.5294 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.0004877/0.1945, allocations: 367.1 kB / 0.7258 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.1945, allocations: 15.97 kB / 0.7258 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.175e-05/0.1945, allocations: 192 / 0.7258 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.608e-05/0.1945, allocations: 34.75 kB / 0.7258 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.098e-05/0.1946, allocations: 4.938 kB / 0.7258 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.1947, allocations: 164.3 kB / 0.726 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.1948, allocations: 4.375 kB / 0.726 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.1948, allocations: 4.375 kB / 0.726 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.1949, allocations: 53.98 kB / 0.726 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.1949, allocations: 4 kB / 0.726 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.1949, allocations: 4 kB / 0.726 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1949, allocations: 0 / 0.726 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.967e-05/0.195, allocations: 27.91 kB / 0.7261 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002123/0.1952, allocations: 161.7 kB / 0.7262 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.1953, allocations: 54.56 kB / 0.7263 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.464e-05/0.1954, allocations: 28.84 kB / 0.7263 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007646/0.1961, allocations: 457.5 kB / 0.7267 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.1962, allocations: 38.5 kB / 0.7268 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.1962, allocations: 0 / 0.7268 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.001408/0.1976, allocations: 0.6035 MB / 0.7274 GB, free: 232 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.1976, allocations: 51.41 kB / 0.7274 GB, free: 168 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.023e-05/0.1977, allocations: 93.95 kB / 0.7275 GB, free: 64 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.1977, allocations: 33.64 kB / 0.7275 GB, free: 24 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.57e-05/0.1978, allocations: 88.12 kB / 0.7276 GB, free: 15.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.04e-05/0.1978, allocations: 31.7 kB / 0.7276 GB, free: 15.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-05/0.1979, allocations: 37.66 kB / 0.7277 GB, free: 15.86 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.198, allocations: 314.8 kB / 0.728 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.456e-05/0.1981, allocations: 19.98 kB / 0.728 GB, free: 15.52 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.428e-05/0.1981, allocations: 27.48 kB / 0.728 GB, free: 15.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.447e-05/0.1982, allocations: 48.86 kB / 0.7281 GB, free: 15.45 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1982, allocations: 3.938 kB / 0.7281 GB, free: 15.45 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001833/0.1984, allocations: 113.5 kB / 0.7282 GB, free: 15.33 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1984, allocations: 4 kB / 0.7282 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1984, allocations: 0 / 0.7282 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.1984, allocations: 0 / 0.7282 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.1985, allocations: 20 kB / 0.7282 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.1985, allocations: 0 / 0.7282 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.762e-05/0.1986, allocations: 7.984 kB / 0.7282 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.1986, allocations: 4 kB / 0.7282 GB, free: 15.29 MB / 0.545 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.302e-05/0.1987, allocations: 117.8 kB / 0.7283 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.77e-05/0.1987, allocations: 11.95 kB / 0.7283 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002063/0.1989, allocations: 105.6 kB / 0.7284 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1989, allocations: 0 / 0.7284 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.1989, allocations: 4 kB / 0.7284 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.1989, allocations: 7.984 kB / 0.7284 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004303/0.1993, allocations: 354.4 kB / 0.7288 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1993, allocations: 0 / 0.7288 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.1995, allocations: 20 kB / 0.7288 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.1995, allocations: 0 / 0.7288 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.1995, allocations: 0 / 0.7288 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.1995, allocations: 7.984 kB / 0.7288 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1995, allocations: 0 / 0.7288 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003848/0.1999, allocations: 223.3 kB / 0.729 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.87e-05/0.1999, allocations: 93.08 kB / 0.7291 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.1999, allocations: 0 / 0.7291 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.621e-05/0.2, allocations: 8 kB / 0.7291 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.494e-05/0.2001, allocations: 7.984 kB / 0.7291 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.2001, allocations: 64 / 0.7291 GB, free: 14.24 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.445e-05/0.2001, allocations: 83.28 kB / 0.7292 GB, free: 14.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.2001, allocations: 3.938 kB / 0.7292 GB, free: 14.16 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002899/0.2004, allocations: 51.8 kB / 0.7293 GB, free: 14.11 MB / 0.545 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.0009094/0.2013, allocations: 0.7865 MB / 0.73 GB, free: 13.29 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001541/0.2015, allocations: 56.05 kB / 0.7301 GB, free: 13.24 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2015, allocations: 0 / 0.7301 GB, free: 13.24 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.312e-05/0.2015, allocations: 31.92 kB / 0.7301 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.2017, allocations: 8 kB / 0.7301 GB, free: 13.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.2034, allocations: 1.412 MB / 0.7315 GB, free: 11.71 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.2037, allocations: 0.6885 MB / 0.7322 GB, free: 11 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.561e-05/0.2038, allocations: 12 kB / 0.7322 GB, free: 10.99 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.63e-05/0.2038, allocations: 19.42 kB / 0.7322 GB, free: 10.97 MB / 0.545 GB Notification: Performance of SimCode: time 8.01e-07/0.2038, allocations: 0 / 0.7322 GB, free: 10.97 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02558/0.2294, allocations: 2.542 MB / 0.7347 GB, free: 8.594 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.591/8.82, allocations: 15.94 kB / 0.7347 GB, free: 8.578 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.811908942006994] Failed to read output from testmodel.py, exit status != 0: 8.94829947600374 8.974686631 8.775914356 Calling exit ...