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.001345/0.001345, allocations: 115 kB / 19.7 MB, free: 2.039 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.001608/0.001608, allocations: 221.4 kB / 23.01 MB, free: 4.945 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.965 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.9611/0.9611, allocations: 150 MB / 463.2 MB, free: 10.46 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",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.002066/0.002066, allocations: 62.5 kB / 0.6413 GB, free: 10.32 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1786, allocations: 89.17 MB / 0.7284 GB, free: 1.207 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001626/0.1802, allocations: 0.5947 MB / 0.729 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006995/0.1809, allocations: 350.7 kB / 0.7293 GB, free: 280 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.399e-05/0.1809, allocations: 3.938 kB / 0.7293 GB, free: 276 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.272e-05/0.1809, allocations: 0 / 0.7293 GB, free: 276 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.222e-05/0.1809, allocations: 0 / 0.7293 GB, free: 276 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004716/0.1814, allocations: 115.6 kB / 0.7294 GB, free: 160 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.935e-05/0.1815, allocations: 19.91 kB / 0.7294 GB, free: 140 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.809e-05/0.1815, allocations: 0 / 0.7294 GB, free: 140 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.067e-05/0.1815, allocations: 4 kB / 0.7294 GB, free: 136 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.211e-05/0.1816, allocations: 11.94 kB / 0.7295 GB, free: 124 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.1816, allocations: 0 / 0.7295 GB, free: 124 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004281/0.182, allocations: 279.6 kB / 0.7297 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.059e-05/0.182, allocations: 0 / 0.7297 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.834e-05/0.182, allocations: 4 kB / 0.7297 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.1822, allocations: 95.94 kB / 0.7298 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1822, allocations: 0 / 0.7298 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1822, allocations: 0 / 0.7298 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.1823, allocations: 0 / 0.7298 GB, free: 15.75 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.0003611/0.1826, allocations: 270.2 kB / 0.7301 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.1827, allocations: 12.03 kB / 0.7301 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.953e-05/0.1827, allocations: 34.75 kB / 0.7301 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.1827, allocations: 4.891 kB / 0.7301 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.1828, allocations: 110.5 kB / 0.7302 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.1829, allocations: 384 / 0.7302 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.1829, allocations: 384 / 0.7302 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.599e-05/0.183, allocations: 42.19 kB / 0.7303 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.183, allocations: 3.938 kB / 0.7303 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.183, allocations: 4 kB / 0.7303 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.183, allocations: 4 kB / 0.7303 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.792e-05/0.183, allocations: 0 / 0.7303 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001616/0.1832, allocations: 124.8 kB / 0.7304 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.99e-05/0.1832, allocations: 18.61 kB / 0.7304 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.844e-05/0.1832, allocations: 8.922 kB / 0.7304 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005943/0.1838, allocations: 79.91 kB / 0.7305 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.1839, allocations: 34.5 kB / 0.7305 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1839, allocations: 0 / 0.7305 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0004938/0.1844, allocations: 185.3 kB / 0.7307 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.1844, allocations: 55.41 kB / 0.7308 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.091e-05/0.1845, allocations: 93.86 kB / 0.7309 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.1845, allocations: 25.7 kB / 0.7309 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.641e-05/0.1845, allocations: 80.14 kB / 0.731 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.1845, allocations: 7.953 kB / 0.731 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.1846, allocations: 17.7 kB / 0.731 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1847, allocations: 323 kB / 0.7313 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.629e-05/0.1847, allocations: 0 / 0.7313 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.984e-05/0.1848, allocations: 21.7 kB / 0.7313 GB, free: 14 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.028e-05/0.1848, allocations: 33.59 kB / 0.7313 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.1848, allocations: 4 kB / 0.7313 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001045/0.1849, allocations: 57.64 kB / 0.7314 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1849, allocations: 7.938 kB / 0.7314 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1849, allocations: 4 kB / 0.7314 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.185, allocations: 0 / 0.7314 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.623e-05/0.185, allocations: 4 kB / 0.7314 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.185, allocations: 7.938 kB / 0.7314 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.816e-05/0.185, allocations: 0 / 0.7314 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.185, allocations: 0 / 0.7314 GB, free: 13.87 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 8.299e-05/0.1851, allocations: 115.8 kB / 0.7315 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.1851, allocations: 12.14 kB / 0.7315 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.1853, allocations: 57.34 kB / 0.7316 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1853, allocations: 0 / 0.7316 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1853, allocations: 0 / 0.7316 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1853, allocations: 0 / 0.7316 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.1854, allocations: 132.7 kB / 0.7317 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1854, allocations: 0 / 0.7317 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.206e-05/0.1855, allocations: 7.938 kB / 0.7317 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.1855, allocations: 3.938 kB / 0.7317 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.1855, allocations: 4 kB / 0.7317 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1855, allocations: 0 / 0.7317 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1855, allocations: 0 / 0.7317 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.1856, allocations: 81.11 kB / 0.7318 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.444e-06/0.1856, allocations: 3.938 kB / 0.7318 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.1856, allocations: 0 / 0.7318 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.142e-05/0.1857, allocations: 7.969 kB / 0.7318 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.264e-05/0.1857, allocations: 0 / 0.7318 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.962e-06/0.1857, allocations: 8.047 kB / 0.7318 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.988e-05/0.1857, allocations: 79.28 kB / 0.7319 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1857, allocations: 0 / 0.7319 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000218/0.186, allocations: 23.94 kB / 0.7319 GB, free: 13.27 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.000532/0.1865, allocations: 0.6437 MB / 0.7326 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.082e-05/0.1866, allocations: 15.98 kB / 0.7326 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1866, allocations: 0 / 0.7326 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.929e-05/0.1866, allocations: 11.94 kB / 0.7326 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.1867, allocations: 0.75 kB / 0.7326 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.1879, allocations: 1.135 MB / 0.7337 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.1882, allocations: 0.6768 MB / 0.7344 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.627e-05/0.1883, allocations: 4.062 kB / 0.7344 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.021e-05/0.1883, allocations: 11.44 kB / 0.7344 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.1883, allocations: 0 / 0.7344 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0285/0.2168, allocations: 1.837 MB / 0.7362 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.45, allocations: 11.3 kB / 0.7362 GB, free: 8.934 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.286697085015476] Failed to read output from testmodel.py, exit status != 0: 11.555133042857051 11.582705389 11.39498915 Calling exit ...