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.001501/0.001501, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.001456/0.001456, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.455/1.455, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002488/0.002488, allocations: 280 kB / 309.1 MB, free: 3.973 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.205/1.205, allocations: 180.9 MB / 0.5333 GB, free: 13.83 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.002818/0.002818, allocations: 112.6 kB / 0.7343 GB, free: 28.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1844, allocations: 95.35 MB / 0.8274 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001838/0.1863, allocations: 0.6232 MB / 0.828 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007377/0.187, allocations: 355.1 kB / 0.8284 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.987e-05/0.187, allocations: 3.938 kB / 0.8284 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.445e-05/0.187, allocations: 0 / 0.8284 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.362e-05/0.1871, allocations: 0 / 0.8284 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004861/0.1876, allocations: 127.6 kB / 0.8285 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.785e-05/0.1876, allocations: 19.97 kB / 0.8285 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.211e-05/0.1877, allocations: 4 kB / 0.8285 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.497e-05/0.1877, allocations: 11.94 kB / 0.8285 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.519e-05/0.1878, allocations: 11.92 kB / 0.8285 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.1878, allocations: 4 kB / 0.8285 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003948/0.1882, allocations: 275.6 kB / 0.8288 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.536e-05/0.1882, allocations: 7.984 kB / 0.8288 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.636e-05/0.1882, allocations: 11.94 kB / 0.8288 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.1884, allocations: 111.8 kB / 0.8289 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1884, allocations: 4 kB / 0.8289 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1884, allocations: 0 / 0.8289 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.1884, allocations: 3.938 kB / 0.8289 GB, free: 8.27 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.0004972/0.1889, allocations: 363.2 kB / 0.8293 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.189, allocations: 8.031 kB / 0.8293 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.363e-05/0.189, allocations: 34.75 kB / 0.8293 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.193e-05/0.1891, allocations: 8.828 kB / 0.8293 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.1892, allocations: 164.4 kB / 0.8295 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.166e-06/0.1892, allocations: 384 / 0.8295 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/0.1892, allocations: 12.38 kB / 0.8295 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.1894, allocations: 46.23 kB / 0.8295 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.1894, allocations: 7.938 kB / 0.8295 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.1894, allocations: 4 kB / 0.8295 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1894, allocations: 0 / 0.8295 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.566e-05/0.1895, allocations: 19.92 kB / 0.8296 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001965/0.1897, allocations: 165.6 kB / 0.8297 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.1898, allocations: 54.56 kB / 0.8298 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.727e-05/0.1898, allocations: 36.84 kB / 0.8298 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007216/0.1905, allocations: 457.5 kB / 0.8302 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.1906, allocations: 38.56 kB / 0.8303 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.1906, allocations: 0 / 0.8303 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.001314/0.1919, allocations: 0.5956 MB / 0.8309 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.1919, allocations: 51.41 kB / 0.8309 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.401e-05/0.192, allocations: 101.9 kB / 0.831 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.192, allocations: 25.7 kB / 0.831 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.676e-05/0.192, allocations: 80.14 kB / 0.8311 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.786e-05/0.1921, allocations: 51.62 kB / 0.8312 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.612e-05/0.1921, allocations: 25.7 kB / 0.8312 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1923, allocations: 314.8 kB / 0.8315 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.433e-05/0.1923, allocations: 23.98 kB / 0.8315 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.022e-05/0.1924, allocations: 22.73 kB / 0.8315 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.492e-05/0.1924, allocations: 64.86 kB / 0.8316 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.1924, allocations: 0 / 0.8316 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001623/0.1926, allocations: 97.52 kB / 0.8317 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1926, allocations: 7.984 kB / 0.8317 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1926, allocations: 0 / 0.8317 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.1926, allocations: 4 kB / 0.8317 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.1927, allocations: 16 kB / 0.8317 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.758e-06/0.1928, allocations: 0 / 0.8317 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.739e-05/0.1928, allocations: 8 kB / 0.8317 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.1928, allocations: 3.984 kB / 0.8317 GB, free: 4.992 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.118e-05/0.1929, allocations: 117.8 kB / 0.8318 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.1929, allocations: 7.938 kB / 0.8318 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001932/0.1931, allocations: 109.5 kB / 0.832 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1931, allocations: 4 kB / 0.832 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.1931, allocations: 0 / 0.832 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.1931, allocations: 3.984 kB / 0.832 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004103/0.1935, allocations: 354.4 kB / 0.8323 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1935, allocations: 0 / 0.8323 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.1936, allocations: 24 kB / 0.8323 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1936, allocations: 0 / 0.8323 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.1936, allocations: 4 kB / 0.8323 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.1936, allocations: 7.984 kB / 0.8323 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.1936, allocations: 4 kB / 0.8323 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.1939, allocations: 215.7 kB / 0.8325 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.364e-05/0.194, allocations: 89.08 kB / 0.8326 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.194, allocations: 4 kB / 0.8326 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.17e-05/0.1941, allocations: 12 kB / 0.8326 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.65e-05/0.1941, allocations: 7.984 kB / 0.8326 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.1941, allocations: 4 kB / 0.8327 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.274e-05/0.1941, allocations: 79.28 kB / 0.8327 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1941, allocations: 0 / 0.8327 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002738/0.1944, allocations: 47.86 kB / 0.8328 GB, free: 3.812 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.0007113/0.1951, allocations: 0.7942 MB / 0.8335 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001571/0.1953, allocations: 59.91 kB / 0.8336 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1953, allocations: 0 / 0.8336 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.92e-05/0.1953, allocations: 35.92 kB / 0.8336 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.1956, allocations: 4 kB / 0.8336 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.1969, allocations: 1.399 MB / 0.835 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.1972, allocations: 0.6846 MB / 0.8357 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.286e-05/0.1973, allocations: 16 kB / 0.8357 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.95e-05/0.1973, allocations: 19.42 kB / 0.8357 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.1973, allocations: 0 / 0.8357 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02756/0.2249, allocations: 2.521 MB / 0.8382 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.976/8.2, allocations: 12.34 kB / 0.8382 GB, free: 14.34 MB / 0.5919 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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: 12.49415746005252] Failed to read output from testmodel.py, exit status != 0: 8.284417012706399 8.305654642 8.113258796 Calling exit ...