Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.00133/0.00133, allocations: 110.1 kB / 16.46 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.001585/0.001585, 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.413/1.413, allocations: 230.6 MB / 252.8 MB, free: 8.977 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.002455/0.002455, allocations: 285.7 kB / 309.1 MB, free: 3.988 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.209/1.209, allocations: 180.9 MB / 0.5333 GB, free: 13.77 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.InverseXDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",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.002809/0.002809, allocations: 103.5 kB / 0.7343 GB, free: 28.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1835, allocations: 95.35 MB / 0.8274 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.00251/0.186, allocations: 0.6038 MB / 0.828 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002822/0.1888, allocations: 1.515 MB / 0.8295 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.61e-05/0.1889, allocations: 0 / 0.8295 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.333e-05/0.1889, allocations: 3.938 kB / 0.8295 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.308e-05/0.1889, allocations: 4 kB / 0.8295 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005031/0.1894, allocations: 143.4 kB / 0.8296 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.048e-05/0.1895, allocations: 23.98 kB / 0.8296 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.814e-05/0.1895, allocations: 7.922 kB / 0.8297 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.965e-05/0.1896, allocations: 15.98 kB / 0.8297 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.356e-05/0.1896, allocations: 27.89 kB / 0.8297 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.1897, allocations: 4 kB / 0.8297 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004771/0.1901, allocations: 315.4 kB / 0.83 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.718e-05/0.1901, allocations: 12 kB / 0.83 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.729e-05/0.1902, allocations: 11.91 kB / 0.83 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003098/0.1905, allocations: 187.8 kB / 0.8302 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1905, allocations: 0 / 0.8302 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1905, allocations: 0 / 0.8302 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.1905, allocations: 0 / 0.8302 GB, free: 6.91 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006282/0.1911, allocations: 375 kB / 0.8306 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.1912, allocations: 8.031 kB / 0.8306 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.758e-05/0.1912, allocations: 30.75 kB / 0.8306 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004687/0.1917, allocations: 68.84 kB / 0.8307 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.1918, allocations: 168.3 kB / 0.8308 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.1918, allocations: 4.375 kB / 0.8308 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.1919, allocations: 4.375 kB / 0.8308 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/0.1921, allocations: 81.69 kB / 0.8309 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-06/0.1922, allocations: 0 / 0.8309 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.1922, allocations: 4 kB / 0.8309 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.1922, allocations: 0 / 0.8309 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003173/0.1925, allocations: 67.91 kB / 0.831 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002072/0.1927, allocations: 161.7 kB / 0.8311 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006358/0.1933, allocations: 118.6 kB / 0.8312 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.1935, allocations: 52.86 kB / 0.8313 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004837/0.194, allocations: 153 kB / 0.8314 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.194, allocations: 34.5 kB / 0.8315 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.194, allocations: 0 / 0.8315 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.001369/0.1954, allocations: 406.1 kB / 0.8319 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.1954, allocations: 55.41 kB / 0.8319 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.086e-05/0.1955, allocations: 97.86 kB / 0.832 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.1955, allocations: 29.7 kB / 0.832 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.807e-05/0.1956, allocations: 84.08 kB / 0.8321 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.1956, allocations: 15.89 kB / 0.8321 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.182e-05/0.1957, allocations: 17.72 kB / 0.8321 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001851/0.1958, allocations: 318.8 kB / 0.8325 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.196, allocations: 36.09 kB / 0.8325 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.1962, allocations: 40.03 kB / 0.8325 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003101/0.1965, allocations: 72.8 kB / 0.8326 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1965, allocations: 0 / 0.8326 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004074/0.1969, allocations: 125.5 kB / 0.8327 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.1969, allocations: 8 kB / 0.8327 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1969, allocations: 0 / 0.8327 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.1969, allocations: 3.938 kB / 0.8327 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.1971, allocations: 23.98 kB / 0.8327 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1971, allocations: 3.984 kB / 0.8327 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.926e-05/0.1972, allocations: 11.98 kB / 0.8328 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.1972, allocations: 4 kB / 0.8328 GB, free: 3.984 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 (6): * Single equations (assignments): 6 * 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.786e-05/0.1973, allocations: 112.7 kB / 0.8329 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.769e-05/0.1973, allocations: 3.938 kB / 0.8329 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004783/0.1978, allocations: 141.1 kB / 0.833 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1978, allocations: 0 / 0.833 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1978, allocations: 0 / 0.833 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.1978, allocations: 0 / 0.833 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/0.198, allocations: 165.7 kB / 0.8332 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.198, allocations: 3.938 kB / 0.8332 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.1982, allocations: 27.98 kB / 0.8332 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1982, allocations: 0 / 0.8332 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.1982, allocations: 4.234 kB / 0.8332 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1982, allocations: 0 / 0.8332 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.1982, allocations: 4 kB / 0.8332 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000672/0.1988, allocations: 188.9 kB / 0.8334 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.199, allocations: 93.06 kB / 0.8335 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.199, allocations: 0 / 0.8335 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.1991, allocations: 11.98 kB / 0.8335 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.1992, allocations: 7.984 kB / 0.8335 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.1992, allocations: 0 / 0.8335 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.251e-05/0.1992, allocations: 83.34 kB / 0.8336 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1992, allocations: 4.094 kB / 0.8336 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000237/0.1994, allocations: 35.8 kB / 0.8336 GB, free: 3.02 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0009906/0.2004, allocations: 0.745 MB / 0.8343 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004211/0.2009, allocations: 79.98 kB / 0.8344 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2009, allocations: 4 kB / 0.8344 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001757/0.201, allocations: 47.89 kB / 0.8345 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.2012, allocations: 10.62 kB / 0.8345 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002217/0.2034, allocations: 1.363 MB / 0.8358 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.2038, allocations: 0.6807 MB / 0.8365 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.634e-05/0.2038, allocations: 16.31 kB / 0.8365 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.842e-05/0.2039, allocations: 15.44 kB / 0.8365 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/0.2039, allocations: 4 kB / 0.8365 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02751/0.2314, allocations: 2.09 MB / 0.8385 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.14/8.372, allocations: 1.25 kB / 0.8385 GB, free: 13.98 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_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_InverseXDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.514253427740186] Failed to read output from testmodel.py, exit status != 0: 8.44214375782758 8.469742603 8.274063749 Calling exit ...