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.00121/0.00121, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001405/0.001405, allocations: 214.2 kB / 23.03 MB, free: 4.926 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.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.003382/0.003382, allocations: 278.2 kB / 313.5 MB, free: 2.609 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.33/1.33, allocations: 180.6 MB / 0.5377 GB, free: 14.53 MB / 382.1 MB " [Timeout remaining time 178] 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="cs",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="cs",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.002748/0.002748, allocations: 102.1 kB / 0.7403 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1881, allocations: 95.39 MB / 0.8335 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001808/0.1899, allocations: 0.6194 MB / 0.8341 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006918/0.1906, allocations: 315.3 kB / 0.8344 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.641e-05/0.1906, allocations: 0 / 0.8344 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.612e-05/0.1906, allocations: 3.938 kB / 0.8344 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.812e-05/0.1906, allocations: 0 / 0.8344 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004608/0.1911, allocations: 120.7 kB / 0.8345 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.007e-05/0.1912, allocations: 27.84 kB / 0.8345 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.248e-05/0.1912, allocations: 4 kB / 0.8345 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.75e-05/0.1912, allocations: 8 kB / 0.8345 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.366e-05/0.1913, allocations: 19.92 kB / 0.8345 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.1913, allocations: 4 kB / 0.8345 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003886/0.1917, allocations: 271.7 kB / 0.8348 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.189e-05/0.1917, allocations: 11.91 kB / 0.8348 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.307e-05/0.1917, allocations: 8 kB / 0.8348 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.1919, allocations: 103.9 kB / 0.8349 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1919, allocations: 0 / 0.8349 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1919, allocations: 0 / 0.8349 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.1919, allocations: 0 / 0.8349 GB, free: 6.758 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.000433/0.1924, allocations: 297.9 kB / 0.8352 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.1924, allocations: 17.34 kB / 0.8352 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.255e-05/0.1924, allocations: 192 / 0.8352 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.839e-05/0.1925, allocations: 34.75 kB / 0.8353 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.138e-05/0.1925, allocations: 8.891 kB / 0.8353 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.1926, allocations: 118.5 kB / 0.8354 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.1926, allocations: 384 / 0.8354 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.1927, allocations: 8.375 kB / 0.8354 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.1928, allocations: 101.4 kB / 0.8355 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.1928, allocations: 0 / 0.8355 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.1928, allocations: 0 / 0.8355 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1928, allocations: 0 / 0.8355 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.982e-05/0.1929, allocations: 23.98 kB / 0.8355 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001749/0.1931, allocations: 136.7 kB / 0.8356 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.1932, allocations: 58.5 kB / 0.8357 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.504e-05/0.1932, allocations: 28.84 kB / 0.8357 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005286/0.1937, allocations: 79.92 kB / 0.8358 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.1938, allocations: 38.5 kB / 0.8358 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.1938, allocations: 0 / 0.8358 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.001241/0.195, allocations: 451.3 kB / 0.8363 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.1951, allocations: 55.41 kB / 0.8363 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.033e-05/0.1951, allocations: 101.8 kB / 0.8364 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.1952, allocations: 25.7 kB / 0.8364 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.761e-05/0.1952, allocations: 84.14 kB / 0.8365 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.839e-05/0.1952, allocations: 51.62 kB / 0.8366 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.415e-05/0.1953, allocations: 25.72 kB / 0.8366 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.1954, allocations: 314.8 kB / 0.8369 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.233e-05/0.1955, allocations: 23.98 kB / 0.8369 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.066e-05/0.1955, allocations: 21.81 kB / 0.8369 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.488e-05/0.1956, allocations: 60.84 kB / 0.837 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1956, allocations: 0 / 0.837 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001631/0.1958, allocations: 99.7 kB / 0.8371 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.1958, allocations: 4 kB / 0.8371 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1958, allocations: 4.547 kB / 0.8371 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.1958, allocations: 4 kB / 0.8371 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.1959, allocations: 27.92 kB / 0.8371 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1959, allocations: 3.938 kB / 0.8371 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.53e-05/0.1959, allocations: 4 kB / 0.8371 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.1959, allocations: 0 / 0.8371 GB, free: 4.238 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 8.721e-05/0.196, allocations: 118.4 kB / 0.8372 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.1961, allocations: 4.188 kB / 0.8372 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002027/0.1963, allocations: 113.6 kB / 0.8374 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1963, allocations: 4 kB / 0.8374 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1963, allocations: 4.094 kB / 0.8374 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1963, allocations: 3.938 kB / 0.8374 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003922/0.1967, allocations: 317.6 kB / 0.8377 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1967, allocations: 0 / 0.8377 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.1968, allocations: 23.92 kB / 0.8377 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1968, allocations: 0 / 0.8377 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.1968, allocations: 8 kB / 0.8377 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1968, allocations: 0 / 0.8377 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1968, allocations: 0 / 0.8377 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.1971, allocations: 223.6 kB / 0.8379 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.096e-05/0.1971, allocations: 11.97 kB / 0.8379 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.1971, allocations: 8.062 kB / 0.8379 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.272e-05/0.1972, allocations: 7.984 kB / 0.8379 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-05/0.1972, allocations: 3.984 kB / 0.8379 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.1972, allocations: 8 kB / 0.838 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.002e-05/0.1973, allocations: 79.28 kB / 0.838 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1973, allocations: 0 / 0.838 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002683/0.1975, allocations: 47.81 kB / 0.8381 GB, free: 3.188 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.0006685/0.1982, allocations: 0.7865 MB / 0.8388 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001378/0.1983, allocations: 55.91 kB / 0.8389 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.1984, allocations: 8.062 kB / 0.8389 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.462e-05/0.1984, allocations: 24 kB / 0.8389 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.1986, allocations: 11.98 kB / 0.8389 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.1999, allocations: 1.4 MB / 0.8403 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.865e-05/0.2, allocations: 67.34 kB / 0.8404 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.21e-05/0.2001, allocations: 27.86 kB / 0.8404 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.293e-05/0.2001, allocations: 15.44 kB / 0.8404 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.2001, allocations: 0 / 0.8404 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03423/0.2343, allocations: 2.674 MB / 0.843 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.25, allocations: 12.53 kB / 0.843 GB, free: 14.19 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 sys.exit(0), Time elapsed: 15.779801136930473] Failed to read output from testmodel.py, exit status != 0: 11.40850171202328 11.4357464 11.239323771 Calling exit ...