Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.002293/0.002293, 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.002388/0.002388, allocations: 214.9 kB / 23.78 MB, free: 4.523 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.488/1.488, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.9672/0.9672, allocations: 150 MB / 464 MB, free: 10.21 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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",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.001939/0.001939, allocations: 57.31 kB / 0.642 GB, free: 9.852 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1886, allocations: 89.18 MB / 0.7291 GB, free: 0.75 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001718/0.1903, allocations: 0.5979 MB / 0.7297 GB, free: 160 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006941/0.191, allocations: 306.9 kB / 0.73 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.106e-05/0.191, allocations: 3.938 kB / 0.73 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.45e-05/0.191, allocations: 4 kB / 0.73 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 1.624e-05/0.1911, allocations: 0 / 0.73 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004379/0.1915, allocations: 107.7 kB / 0.7301 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.057e-05/0.1915, allocations: 11.94 kB / 0.7301 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.617e-05/0.1916, allocations: 0 / 0.7301 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.741e-05/0.1916, allocations: 11.97 kB / 0.7301 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.456e-05/0.1917, allocations: 11.94 kB / 0.7301 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.1917, allocations: 0 / 0.7301 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003897/0.1921, allocations: 279.7 kB / 0.7304 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.347e-05/0.1921, allocations: 0 / 0.7304 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.943e-05/0.1921, allocations: 3.984 kB / 0.7304 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.1923, allocations: 99.94 kB / 0.7305 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1923, allocations: 0 / 0.7305 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1923, allocations: 0 / 0.7305 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.1923, allocations: 0 / 0.7305 GB, free: 15.33 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003544/0.1927, allocations: 262.2 kB / 0.7307 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.1927, allocations: 12.03 kB / 0.7307 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.128e-05/0.1927, allocations: 192 / 0.7307 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.177e-05/0.1927, allocations: 30.75 kB / 0.7308 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.139e-05/0.1928, allocations: 12.88 kB / 0.7308 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.1929, allocations: 114.5 kB / 0.7309 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.931e-06/0.1929, allocations: 384 / 0.7309 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.1929, allocations: 384 / 0.7309 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.193, allocations: 63.66 kB / 0.7309 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.193, allocations: 4 kB / 0.7309 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.193, allocations: 0 / 0.7309 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.193, allocations: 3.984 kB / 0.7309 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.059e-05/0.1931, allocations: 4 kB / 0.731 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001498/0.1932, allocations: 120.8 kB / 0.7311 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.731e-05/0.1933, allocations: 34.55 kB / 0.7311 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.378e-05/0.1933, allocations: 8.844 kB / 0.7311 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005945/0.1939, allocations: 79.98 kB / 0.7312 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.1939, allocations: 38.44 kB / 0.7312 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1939, allocations: 0 / 0.7312 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005041/0.1944, allocations: 173.2 kB / 0.7314 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.1945, allocations: 51.41 kB / 0.7314 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.859e-05/0.1945, allocations: 101.8 kB / 0.7315 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1946, allocations: 25.7 kB / 0.7316 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.639e-05/0.1946, allocations: 80.14 kB / 0.7316 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.1946, allocations: 12.23 kB / 0.7316 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/0.1947, allocations: 17.72 kB / 0.7317 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.1948, allocations: 322.8 kB / 0.732 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.591e-05/0.1948, allocations: 0 / 0.732 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.563e-05/0.1949, allocations: 17.72 kB / 0.732 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.155e-05/0.1949, allocations: 25.66 kB / 0.732 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.1949, allocations: 0 / 0.732 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001063/0.195, allocations: 61.58 kB / 0.7321 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.195, allocations: 8 kB / 0.7321 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.195, allocations: 4.062 kB / 0.7321 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.195, allocations: 0 / 0.7321 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.881e-05/0.1951, allocations: 11.94 kB / 0.7321 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.1951, allocations: 3.984 kB / 0.7321 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.85e-05/0.1951, allocations: 0 / 0.7321 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.1952, allocations: 0 / 0.7321 GB, free: 13.42 MB / 0.5606 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 9.296e-05/0.1952, allocations: 115.8 kB / 0.7322 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.1953, allocations: 3.938 kB / 0.7322 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001439/0.1954, allocations: 57.5 kB / 0.7323 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1954, allocations: 8 kB / 0.7323 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1954, allocations: 0 / 0.7323 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.1954, allocations: 3.984 kB / 0.7323 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.1955, allocations: 120.8 kB / 0.7324 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1955, allocations: 0 / 0.7324 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.914e-05/0.1956, allocations: 11.88 kB / 0.7324 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1956, allocations: 0 / 0.7324 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.1956, allocations: 0 / 0.7324 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.1956, allocations: 7.984 kB / 0.7324 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1956, allocations: 0 / 0.7324 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.1958, allocations: 73.12 kB / 0.7325 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.948e-06/0.1958, allocations: 12.03 kB / 0.7325 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.1958, allocations: 0 / 0.7325 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.094e-05/0.1958, allocations: 4 kB / 0.7325 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.1959, allocations: 7.922 kB / 0.7325 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.1959, allocations: 4 kB / 0.7325 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.444e-05/0.1959, allocations: 75.28 kB / 0.7326 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1959, allocations: 0 / 0.7326 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002296/0.1961, allocations: 31.88 kB / 0.7326 GB, free: 12.82 MB / 0.5606 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.0005878/0.1967, allocations: 0.6476 MB / 0.7332 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.804e-05/0.1968, allocations: 15.98 kB / 0.7333 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1968, allocations: 3.938 kB / 0.7333 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.241e-05/0.1969, allocations: 8 kB / 0.7333 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001548/0.197, allocations: 2.344 kB / 0.7333 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.1981, allocations: 1.131 MB / 0.7344 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.332e-05/0.1982, allocations: 59.36 kB / 0.7344 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.027e-05/0.1982, allocations: 8.172 kB / 0.7344 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.418e-05/0.1982, allocations: 15.42 kB / 0.7345 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.1982, allocations: 0 / 0.7345 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02331/0.2215, allocations: 1.896 MB / 0.7363 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.62, allocations: 3.938 kB / 0.7363 GB, free: 9.066 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.510709731956013] Failed to read output from testmodel.py, exit status != 0: 11.785996651975438 11.80140852 11.606077868 Calling exit ...