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.001629/0.001629, allocations: 105 kB / 20.48 MB, free: 1.488 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.002009/0.002009, allocations: 213.4 kB / 23.79 MB, free: 4.703 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.515/1.515, allocations: 230.6 MB / 257.6 MB, free: 8.004 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.9664/0.9664, allocations: 150 MB / 463.9 MB, free: 10.5 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.002053/0.002053, allocations: 65.45 kB / 0.6421 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1813, allocations: 89.16 MB / 0.7292 GB, free: 1.238 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001893/0.1832, allocations: 0.6043 MB / 0.7297 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007476/0.184, allocations: 350.7 kB / 0.7301 GB, free: 300 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.577e-05/0.184, allocations: 0 / 0.7301 GB, free: 300 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.397e-05/0.184, allocations: 0 / 0.7301 GB, free: 300 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.467e-05/0.184, allocations: 4 kB / 0.7301 GB, free: 296 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005739/0.1846, allocations: 111.7 kB / 0.7302 GB, free: 184 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.014e-05/0.1847, allocations: 11.92 kB / 0.7302 GB, free: 172 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.853e-05/0.1847, allocations: 4 kB / 0.7302 GB, free: 168 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.055e-05/0.1848, allocations: 0 / 0.7302 GB, free: 168 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.599e-05/0.1849, allocations: 11.94 kB / 0.7302 GB, free: 156 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.1849, allocations: 3.938 kB / 0.7302 GB, free: 152 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004796/0.1853, allocations: 283.7 kB / 0.7305 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.342e-05/0.1854, allocations: 3.906 kB / 0.7305 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.568e-05/0.1854, allocations: 4 kB / 0.7305 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.1856, allocations: 91.95 kB / 0.7306 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.1856, allocations: 4 kB / 0.7306 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.693e-06/0.1856, allocations: 0 / 0.7306 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.289e-06/0.1856, allocations: 0 / 0.7306 GB, free: 15.77 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.0003879/0.186, allocations: 262.2 kB / 0.7308 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.1861, allocations: 8.031 kB / 0.7308 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.953e-05/0.1861, allocations: 12.19 kB / 0.7309 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.143e-05/0.1861, allocations: 30.75 kB / 0.7309 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.414e-05/0.1862, allocations: 4.891 kB / 0.7309 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.1863, allocations: 114.5 kB / 0.731 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.856e-06/0.1863, allocations: 384 / 0.731 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.1863, allocations: 384 / 0.731 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.1864, allocations: 45.94 kB / 0.731 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.1864, allocations: 0 / 0.731 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-06/0.1865, allocations: 0 / 0.731 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.1865, allocations: 4 kB / 0.731 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.056e-05/0.1865, allocations: 4 kB / 0.731 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001832/0.1867, allocations: 128.7 kB / 0.7312 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.399e-05/0.1867, allocations: 18.61 kB / 0.7312 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.019e-05/0.1867, allocations: 8.922 kB / 0.7312 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005694/0.1873, allocations: 79.91 kB / 0.7313 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.1873, allocations: 38.44 kB / 0.7313 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.197e-05/0.1874, allocations: 3.984 kB / 0.7313 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005439/0.1879, allocations: 181.5 kB / 0.7315 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.1879, allocations: 55.34 kB / 0.7315 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.908e-05/0.188, allocations: 93.86 kB / 0.7316 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.188, allocations: 25.7 kB / 0.7317 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.757e-05/0.1881, allocations: 80.14 kB / 0.7317 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.293e-05/0.1881, allocations: 11.94 kB / 0.7317 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.564e-05/0.1882, allocations: 13.72 kB / 0.7318 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.1884, allocations: 319 kB / 0.7321 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.839e-05/0.1884, allocations: 4 kB / 0.7321 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.977e-05/0.1884, allocations: 25.7 kB / 0.7321 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.221e-05/0.1885, allocations: 25.66 kB / 0.7321 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.1885, allocations: 0 / 0.7321 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001174/0.1886, allocations: 57.58 kB / 0.7322 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.1886, allocations: 8.062 kB / 0.7322 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1886, allocations: 3.938 kB / 0.7322 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.1886, allocations: 4 kB / 0.7322 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.999e-05/0.1887, allocations: 7.938 kB / 0.7322 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.1887, allocations: 0 / 0.7322 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.223e-05/0.1887, allocations: 4 kB / 0.7322 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.1887, allocations: 0 / 0.7322 GB, free: 13.89 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.643e-05/0.1888, allocations: 117.8 kB / 0.7323 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.1889, allocations: 3.938 kB / 0.7323 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001578/0.189, allocations: 57.36 kB / 0.7324 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.189, allocations: 0 / 0.7324 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.189, allocations: 0 / 0.7324 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.189, allocations: 0 / 0.7324 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.1892, allocations: 124.8 kB / 0.7325 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1892, allocations: 0 / 0.7325 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.289e-05/0.1892, allocations: 15.88 kB / 0.7325 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1892, allocations: 0 / 0.7325 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.1892, allocations: 0 / 0.7325 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1892, allocations: 8 kB / 0.7325 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1892, allocations: 3.984 kB / 0.7325 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.1894, allocations: 77.16 kB / 0.7326 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.286e-06/0.1894, allocations: 3.938 kB / 0.7326 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.1894, allocations: 0 / 0.7326 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.613e-05/0.1895, allocations: 0 / 0.7326 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.803e-05/0.1895, allocations: 11.92 kB / 0.7326 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.1895, allocations: 0 / 0.7326 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.215e-05/0.1895, allocations: 83.34 kB / 0.7327 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1895, allocations: 4 kB / 0.7327 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002169/0.1898, allocations: 19.94 kB / 0.7327 GB, free: 13.29 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.0006336/0.1904, allocations: 0.6396 MB / 0.7333 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.915e-05/0.1905, allocations: 28.36 kB / 0.7334 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1905, allocations: 0 / 0.7334 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.72e-05/0.1905, allocations: 8 kB / 0.7334 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001529/0.1907, allocations: 0 / 0.7334 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.1919, allocations: 1.135 MB / 0.7345 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004984/0.1924, allocations: 0.6729 MB / 0.7351 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.421e-05/0.1924, allocations: 8 kB / 0.7351 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.217e-05/0.1925, allocations: 19.36 kB / 0.7352 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of SimCode: time 1.573e-06/0.1925, allocations: 0 / 0.7352 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02456/0.217, allocations: 1.866 MB / 0.737 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.39, allocations: 11.16 kB / 0.737 GB, free: 8.938 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.259286028973293] Failed to read output from testmodel.py, exit status != 0: 11.55510401003994 11.579532474 11.390466198 Calling exit ...