Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001333/0.001333, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.001556/0.001556, allocations: 216.8 kB / 22.24 MB, free: 5.242 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.422/1.422, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.0025/0.0025, allocations: 294.6 kB / 312.7 MB, free: 2.586 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.206/1.206, allocations: 180.6 MB / 0.5369 GB, free: 14.55 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002941/0.002941, allocations: 109.9 kB / 0.7395 GB, free: 27.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1873, allocations: 95.38 MB / 0.8327 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002131/0.1894, allocations: 0.6281 MB / 0.8333 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008246/0.1902, allocations: 315.3 kB / 0.8336 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.834e-05/0.1902, allocations: 3.938 kB / 0.8336 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.396e-05/0.1903, allocations: 3.938 kB / 0.8336 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.226e-05/0.1903, allocations: 0 / 0.8336 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005819/0.1909, allocations: 111.7 kB / 0.8337 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.115e-05/0.191, allocations: 31.92 kB / 0.8337 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.925e-05/0.191, allocations: 4 kB / 0.8338 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.709e-05/0.1911, allocations: 7.938 kB / 0.8338 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.5e-05/0.1911, allocations: 15.97 kB / 0.8338 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.1911, allocations: 0 / 0.8338 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004623/0.1916, allocations: 255.6 kB / 0.834 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.149e-05/0.1916, allocations: 11.94 kB / 0.834 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.1916, allocations: 11.94 kB / 0.834 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.1919, allocations: 103.9 kB / 0.8341 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1919, allocations: 0 / 0.8341 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1919, allocations: 0 / 0.8341 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.1919, allocations: 7.938 kB / 0.8341 GB, free: 6.785 MB / 0.5762 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.0004838/0.1924, allocations: 290 kB / 0.8344 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.1924, allocations: 9.344 kB / 0.8344 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.005e-05/0.1925, allocations: 34.75 kB / 0.8345 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.032e-05/0.1925, allocations: 4.891 kB / 0.8345 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.1926, allocations: 110.5 kB / 0.8346 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.1926, allocations: 8.312 kB / 0.8346 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.1927, allocations: 4.375 kB / 0.8346 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.1928, allocations: 105.6 kB / 0.8347 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.1928, allocations: 3.938 kB / 0.8347 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.1929, allocations: 4 kB / 0.8347 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.1929, allocations: 4 kB / 0.8347 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.526e-05/0.1929, allocations: 15.98 kB / 0.8347 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001971/0.1931, allocations: 140.7 kB / 0.8348 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.1932, allocations: 58.5 kB / 0.8349 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.359e-05/0.1933, allocations: 24.84 kB / 0.8349 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005377/0.1938, allocations: 83.92 kB / 0.835 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.1939, allocations: 34.55 kB / 0.835 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.1939, allocations: 4 kB / 0.835 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.001323/0.1952, allocations: 451.8 kB / 0.8355 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.1952, allocations: 59.39 kB / 0.8355 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.058e-05/0.1953, allocations: 93.86 kB / 0.8356 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.1953, allocations: 29.7 kB / 0.8357 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.868e-05/0.1954, allocations: 84.14 kB / 0.8357 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.902e-05/0.1954, allocations: 39.64 kB / 0.8358 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.843e-05/0.1955, allocations: 29.7 kB / 0.8358 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1956, allocations: 318.8 kB / 0.8361 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.28e-05/0.1957, allocations: 19.98 kB / 0.8361 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.109e-05/0.1957, allocations: 21.62 kB / 0.8361 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.1958, allocations: 63.34 kB / 0.8362 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1958, allocations: 0 / 0.8362 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001646/0.196, allocations: 105.6 kB / 0.8363 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.196, allocations: 8 kB / 0.8363 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.196, allocations: 0 / 0.8363 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.196, allocations: 0 / 0.8363 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.1961, allocations: 23.92 kB / 0.8363 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.1961, allocations: 11.98 kB / 0.8363 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.569e-05/0.1962, allocations: 4 kB / 0.8363 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.936e-06/0.1962, allocations: 4 kB / 0.8364 GB, free: 4.273 MB / 0.5762 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.212e-05/0.1963, allocations: 110.5 kB / 0.8365 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.1963, allocations: 7.938 kB / 0.8365 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001992/0.1965, allocations: 109.7 kB / 0.8366 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1965, allocations: 3.938 kB / 0.8366 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1965, allocations: 96 / 0.8366 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1965, allocations: 3.938 kB / 0.8366 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000423/0.1969, allocations: 325.7 kB / 0.8369 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1969, allocations: 192 / 0.8369 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.197, allocations: 19.98 kB / 0.8369 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.197, allocations: 7.938 kB / 0.8369 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.197, allocations: 3.984 kB / 0.8369 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.197, allocations: 0 / 0.8369 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.197, allocations: 4 kB / 0.8369 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/0.1973, allocations: 223.3 kB / 0.8371 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.152e-05/0.1974, allocations: 11.98 kB / 0.8371 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.1974, allocations: 3.984 kB / 0.8371 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.162e-05/0.1975, allocations: 8 kB / 0.8372 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.277e-05/0.1975, allocations: 7.984 kB / 0.8372 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.1975, allocations: 0 / 0.8372 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.663e-05/0.1975, allocations: 79.28 kB / 0.8372 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1975, allocations: 0 / 0.8372 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002774/0.1978, allocations: 47.86 kB / 0.8373 GB, free: 3.23 MB / 0.5762 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.0006874/0.1985, allocations: 0.7943 MB / 0.8381 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001439/0.1986, allocations: 59.91 kB / 0.8381 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1986, allocations: 0 / 0.8381 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.811e-05/0.1987, allocations: 27.98 kB / 0.8381 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.1989, allocations: 8 kB / 0.8382 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.2004, allocations: 1.399 MB / 0.8395 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.842e-05/0.2005, allocations: 71.33 kB / 0.8396 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.44e-05/0.2005, allocations: 16.06 kB / 0.8396 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.198e-05/0.2006, allocations: 19.38 kB / 0.8396 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of SimCode: time 4.21e-07/0.2006, allocations: 0 / 0.8396 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03151/0.2321, allocations: 2.994 MB / 0.8425 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.25, allocations: 6.016 kB / 0.8426 GB, free: 13.89 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.37800312275067] Failed to read output from testmodel.py, exit status != 0: 11.356757077854127 11.385841275 11.188868554 Calling exit ...