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.00131/0.00131, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001447/0.001447, allocations: 211.5 kB / 23.78 MB, free: 4.527 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.476/1.476, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.9988/0.9988, allocations: 150 MB / 464 MB, free: 10.19 MB / 366.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.00328/0.00328, allocations: 66.72 kB / 0.642 GB, free: 9.848 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1899, allocations: 89.17 MB / 0.7291 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002253/0.1922, allocations: 0.6235 MB / 0.7297 GB, free: 124 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008355/0.193, allocations: 314.9 kB / 0.73 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.101e-05/0.193, allocations: 0 / 0.73 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.922e-05/0.1931, allocations: 0 / 0.73 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.357e-05/0.1931, allocations: 3.938 kB / 0.73 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005934/0.1937, allocations: 118.6 kB / 0.7301 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.929e-05/0.1938, allocations: 27.92 kB / 0.7301 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.415e-05/0.1938, allocations: 0 / 0.7301 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.771e-05/0.1939, allocations: 11.98 kB / 0.7301 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.273e-05/0.1939, allocations: 11.92 kB / 0.7302 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.1939, allocations: 4 kB / 0.7302 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004438/0.1944, allocations: 279.6 kB / 0.7304 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.242e-05/0.1944, allocations: 7.938 kB / 0.7304 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.666e-05/0.1944, allocations: 11.94 kB / 0.7304 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002454/0.1947, allocations: 111.9 kB / 0.7306 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1947, allocations: 0 / 0.7306 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1947, allocations: 0 / 0.7306 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.1947, allocations: 4 kB / 0.7306 GB, free: 15.23 MB / 0.5606 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.0005214/0.1952, allocations: 287.9 kB / 0.7308 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.1953, allocations: 12.02 kB / 0.7308 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.693e-05/0.1953, allocations: 192 / 0.7308 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.028e-05/0.1953, allocations: 34.75 kB / 0.7309 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.451e-05/0.1954, allocations: 0.9375 kB / 0.7309 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.1955, allocations: 114.4 kB / 0.731 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.1955, allocations: 4.375 kB / 0.731 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.1955, allocations: 4.375 kB / 0.731 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.1957, allocations: 109.4 kB / 0.7311 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.1957, allocations: 7.938 kB / 0.7311 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.1957, allocations: 3.938 kB / 0.7311 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1957, allocations: 0 / 0.7311 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.515e-05/0.1958, allocations: 19.98 kB / 0.7311 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001819/0.196, allocations: 136.8 kB / 0.7313 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.1961, allocations: 54.55 kB / 0.7313 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.691e-05/0.1962, allocations: 20.86 kB / 0.7313 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005675/0.1967, allocations: 83.91 kB / 0.7314 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.1968, allocations: 42.44 kB / 0.7315 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.1968, allocations: 0 / 0.7315 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.001378/0.1981, allocations: 459.5 kB / 0.7319 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.1982, allocations: 51.41 kB / 0.7319 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.204e-05/0.1983, allocations: 93.86 kB / 0.732 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.1983, allocations: 33.7 kB / 0.7321 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.385e-05/0.1983, allocations: 84.12 kB / 0.7321 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.952e-05/0.1984, allocations: 31.7 kB / 0.7322 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.522e-05/0.1984, allocations: 29.7 kB / 0.7322 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.1986, allocations: 318.8 kB / 0.7325 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.764e-05/0.1986, allocations: 19.98 kB / 0.7325 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.88e-05/0.1987, allocations: 27.11 kB / 0.7326 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.795e-05/0.1988, allocations: 52.86 kB / 0.7326 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1988, allocations: 4 kB / 0.7326 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001775/0.199, allocations: 105.5 kB / 0.7327 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.199, allocations: 8 kB / 0.7327 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.199, allocations: 0 / 0.7327 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.199, allocations: 0 / 0.7327 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.1991, allocations: 20 kB / 0.7327 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1991, allocations: 0 / 0.7327 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.027e-05/0.1992, allocations: 7.984 kB / 0.7327 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.1992, allocations: 4 kB / 0.7327 GB, free: 12.74 MB / 0.5606 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.223e-05/0.1993, allocations: 121.7 kB / 0.7329 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.1993, allocations: 11.95 kB / 0.7329 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002192/0.1995, allocations: 109.7 kB / 0.733 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1995, allocations: 0 / 0.733 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1995, allocations: 0 / 0.733 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1995, allocations: 3.984 kB / 0.733 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004151/0.1999, allocations: 321.5 kB / 0.7333 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.1999, allocations: 3.984 kB / 0.7333 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.2001, allocations: 20 kB / 0.7333 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.2001, allocations: 0 / 0.7333 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.2001, allocations: 0 / 0.7333 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2001, allocations: 0 / 0.7333 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2001, allocations: 4 kB / 0.7333 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000314/0.2004, allocations: 226 kB / 0.7335 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.488e-05/0.2004, allocations: 15.97 kB / 0.7335 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.2004, allocations: 0 / 0.7335 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.814e-05/0.2005, allocations: 15.94 kB / 0.7336 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.602e-05/0.2006, allocations: 7.984 kB / 0.7336 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.2006, allocations: 0 / 0.7336 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.151e-05/0.2006, allocations: 79.28 kB / 0.7336 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2006, allocations: 0 / 0.7336 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003108/0.2009, allocations: 51.8 kB / 0.7337 GB, free: 11.69 MB / 0.5606 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.0007901/0.2017, allocations: 0.7789 MB / 0.7345 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00018/0.2019, allocations: 63.42 kB / 0.7345 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.2019, allocations: 0 / 0.7345 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.225e-05/0.202, allocations: 35.92 kB / 0.7345 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.2022, allocations: 0.9375 kB / 0.7345 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.2037, allocations: 1.409 MB / 0.7359 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.605e-05/0.2038, allocations: 72.59 kB / 0.736 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.138e-05/0.2039, allocations: 16.06 kB / 0.736 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.994e-05/0.2039, allocations: 23.41 kB / 0.736 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of SimCode: time 4e-07/0.2039, allocations: 0 / 0.736 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03183/0.2357, allocations: 2.645 MB / 0.7386 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.5, allocations: 16.83 kB / 0.7386 GB, free: 6.703 MB / 0.5606 GB " [Timeout remaining time 648] (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 sys.exit(0), Time elapsed: 15.379133661976084] Failed to read output from testmodel.py, exit status != 0: 11.666293050977401 11.685399299 11.486248383 Calling exit ...