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.00185/0.00185, allocations: 114.2 kB / 17.84 MB, free: 5.336 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.001471/0.001471, allocations: 207.1 kB / 20.8 MB, free: 2.391 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.552/1.552, allocations: 230.6 MB / 254.2 MB, free: 15.1 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 1.02/1.02, allocations: 150 MB / 460.2 MB, free: 5.684 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.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.002885/0.002885, allocations: 71.16 kB / 0.6368 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.2003, allocations: 89.13 MB / 0.7239 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002234/0.2026, allocations: 0.597 MB / 0.7245 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.2036, allocations: 343.2 kB / 0.7248 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.656e-05/0.2036, allocations: 0 / 0.7248 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.052e-05/0.2037, allocations: 0 / 0.7248 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.724e-05/0.2037, allocations: 3.938 kB / 0.7248 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007839/0.2045, allocations: 111.8 kB / 0.7249 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.706e-05/0.2046, allocations: 11.98 kB / 0.7249 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.69e-05/0.2046, allocations: 8 kB / 0.7249 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.851e-05/0.2046, allocations: 3.984 kB / 0.7249 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.198e-05/0.2047, allocations: 7.938 kB / 0.7249 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.2047, allocations: 0 / 0.7249 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005577/0.2053, allocations: 279.6 kB / 0.7252 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.2053, allocations: 0 / 0.7252 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.023e-05/0.2053, allocations: 11.94 kB / 0.7252 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002567/0.2056, allocations: 99.92 kB / 0.7253 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2056, allocations: 0 / 0.7253 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.265e-06/0.2056, allocations: 0 / 0.7253 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.2056, allocations: 0 / 0.7253 GB, free: 2.574 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005702/0.2062, allocations: 351.2 kB / 0.7256 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.2062, allocations: 8.031 kB / 0.7257 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.25e-05/0.2063, allocations: 4.188 kB / 0.7257 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.018e-05/0.2063, allocations: 30.75 kB / 0.7257 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.328e-05/0.2064, allocations: 0.9375 kB / 0.7257 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.2066, allocations: 168.3 kB / 0.7258 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.2066, allocations: 4.375 kB / 0.7259 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.2066, allocations: 384 / 0.7259 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.2068, allocations: 42.02 kB / 0.7259 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.2068, allocations: 0 / 0.7259 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.2068, allocations: 0 / 0.7259 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.2068, allocations: 4 kB / 0.7259 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.691e-05/0.2068, allocations: 11.92 kB / 0.7259 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002617/0.2071, allocations: 153.7 kB / 0.7261 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.021e-05/0.2072, allocations: 22.56 kB / 0.7261 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.928e-05/0.2072, allocations: 8.859 kB / 0.7261 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008024/0.208, allocations: 453.5 kB / 0.7265 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/0.208, allocations: 42.5 kB / 0.7266 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.208, allocations: 0 / 0.7266 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0006011/0.2086, allocations: 254.3 kB / 0.7268 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.2087, allocations: 51.41 kB / 0.7268 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.827e-05/0.2088, allocations: 93.86 kB / 0.7269 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.2088, allocations: 29.7 kB / 0.727 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.312e-05/0.2088, allocations: 84.48 kB / 0.727 GB, free: 452 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.2089, allocations: 3.953 kB / 0.7271 GB, free: 448 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.2089, allocations: 21.7 kB / 0.7271 GB, free: 420 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.209, allocations: 314.8 kB / 0.7274 GB, free: 96 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.162e-05/0.2091, allocations: 8 kB / 0.7274 GB, free: 88 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.234e-05/0.2091, allocations: 17.75 kB / 0.7274 GB, free: 64 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.443e-05/0.2091, allocations: 33.7 kB / 0.7274 GB, free: 24 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/0.2091, allocations: 0 / 0.7274 GB, free: 24 kB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001404/0.2093, allocations: 61.53 kB / 0.7275 GB, free: 15.96 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.2093, allocations: 5.719 kB / 0.7275 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.2093, allocations: 3.984 kB / 0.7275 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.2093, allocations: 4 kB / 0.7275 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.434e-05/0.2094, allocations: 4 kB / 0.7275 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.2094, allocations: 0 / 0.7275 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.925e-05/0.2094, allocations: 3.938 kB / 0.7275 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.2094, allocations: 8.062 kB / 0.7275 GB, free: 15.93 MB / 0.545 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 8.297e-05/0.2095, allocations: 105.8 kB / 0.7276 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.2095, allocations: 7.938 kB / 0.7276 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001453/0.2097, allocations: 61.11 kB / 0.7277 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.2097, allocations: 0 / 0.7277 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.2097, allocations: 0 / 0.7277 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.2097, allocations: 0 / 0.7277 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.2099, allocations: 153.7 kB / 0.7278 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2099, allocations: 4 kB / 0.7278 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.261e-05/0.2099, allocations: 11.88 kB / 0.7278 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.2099, allocations: 4 kB / 0.7278 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.2099, allocations: 0 / 0.7278 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.2099, allocations: 0 / 0.7278 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2099, allocations: 0 / 0.7278 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001942/0.2101, allocations: 81.05 kB / 0.7279 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-05/0.2102, allocations: 81.05 kB / 0.728 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.2102, allocations: 12.09 kB / 0.728 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.626e-05/0.2102, allocations: 0 / 0.728 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.578e-05/0.2103, allocations: 0 / 0.728 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-06/0.2103, allocations: 4 kB / 0.728 GB, free: 15.31 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.023e-05/0.2103, allocations: 79.27 kB / 0.7281 GB, free: 15.23 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2103, allocations: 0 / 0.7281 GB, free: 15.23 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002263/0.2105, allocations: 23.94 kB / 0.7281 GB, free: 15.21 MB / 0.545 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.0006757/0.2112, allocations: 0.6514 MB / 0.7288 GB, free: 14.53 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001222/0.2113, allocations: 15.98 kB / 0.7288 GB, free: 14.51 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2113, allocations: 0 / 0.7288 GB, free: 14.51 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.144e-05/0.2114, allocations: 8 kB / 0.7288 GB, free: 14.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.2115, allocations: 4 kB / 0.7288 GB, free: 14.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.2127, allocations: 1.137 MB / 0.7299 GB, free: 13.28 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.213, allocations: 0.6806 MB / 0.7306 GB, free: 12.57 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.059e-05/0.213, allocations: 4 kB / 0.7306 GB, free: 12.57 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.154e-05/0.2131, allocations: 7.438 kB / 0.7306 GB, free: 12.56 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.2131, allocations: 4 kB / 0.7306 GB, free: 12.55 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02123/0.2343, allocations: 1.801 MB / 0.7323 GB, free: 10.93 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.251/8.485, allocations: 17.55 kB / 0.7323 GB, free: 10.92 MB / 0.545 GB " [Timeout remaining time 651] (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: 12.591194003995042] Failed to read output from testmodel.py, exit status != 0: 8.610068649984896 8.635059288 8.424352805 Calling exit ...