Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_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.001243/0.001243, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00141/0.00141, allocations: 215 kB / 22.25 MB, free: 5.262 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.358/1.358, allocations: 230.6 MB / 256 MB, free: 7.738 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.002462/0.002462, allocations: 290.9 kB / 312.7 MB, free: 2.668 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.145/1.145, allocations: 180.6 MB / 0.5369 GB, free: 14.5 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.InverseXDerivative_2_Check,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivative_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.002838/0.002838, allocations: 104.9 kB / 0.7395 GB, free: 28.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1708, allocations: 95.38 MB / 0.8327 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001917/0.1727, allocations: 0.7871 MB / 0.8335 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001875/0.1746, allocations: 1.452 MB / 0.8349 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.749e-05/0.1746, allocations: 0 / 0.8349 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.14e-05/0.1746, allocations: 7.922 kB / 0.8349 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.609e-05/0.1747, allocations: 0 / 0.8349 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000504/0.1752, allocations: 143.5 kB / 0.835 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.261e-05/0.1753, allocations: 55.83 kB / 0.8351 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.672e-05/0.1753, allocations: 0 / 0.8351 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.509e-05/0.1754, allocations: 31.91 kB / 0.8351 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.802e-05/0.1754, allocations: 31.91 kB / 0.8351 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.1755, allocations: 4 kB / 0.8351 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003805/0.1758, allocations: 247.5 kB / 0.8354 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.156e-05/0.1759, allocations: 11.92 kB / 0.8354 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.223e-05/0.1759, allocations: 23.92 kB / 0.8354 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003068/0.1762, allocations: 203.7 kB / 0.8356 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1762, allocations: 0 / 0.8356 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1762, allocations: 0 / 0.8356 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.1762, allocations: 0 / 0.8356 GB, free: 5.25 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006219/0.1768, allocations: 337.7 kB / 0.8359 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.1769, allocations: 13.94 kB / 0.8359 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.171e-05/0.1769, allocations: 38.75 kB / 0.836 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004129/0.1773, allocations: 68.84 kB / 0.836 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.1775, allocations: 114.4 kB / 0.8362 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.1775, allocations: 8.375 kB / 0.8362 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.1775, allocations: 4.375 kB / 0.8362 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003924/0.1779, allocations: 169.1 kB / 0.8363 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1779, allocations: 0 / 0.8363 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.1779, allocations: 3.938 kB / 0.8363 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1779, allocations: 7.938 kB / 0.8363 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000452/0.1784, allocations: 95.91 kB / 0.8364 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005743/0.179, allocations: 295.8 kB / 0.8367 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006265/0.1796, allocations: 154.4 kB / 0.8369 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002424/0.1798, allocations: 60.8 kB / 0.8369 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.1798, allocations: 0 / 0.8369 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.1799, allocations: 30.56 kB / 0.8369 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.1799, allocations: 0 / 0.8369 GB, free: 3.734 MB / 0.5762 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.01691/0.1968, allocations: 2.693 MB / 0.8396 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.1968, allocations: 59.34 kB / 0.8396 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.576e-05/0.1969, allocations: 101.9 kB / 0.8397 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.271e-05/0.1969, allocations: 25.7 kB / 0.8398 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.731e-05/0.197, allocations: 104 kB / 0.8399 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.687e-05/0.1971, allocations: 35.69 kB / 0.8399 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/0.1972, allocations: 69.58 kB / 0.84 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1974, allocations: 310.8 kB / 0.8402 GB, free: 256 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006491/0.198, allocations: 195.8 kB / 0.8404 GB, free: 60 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000644/0.1987, allocations: 191.8 kB / 0.8406 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/0.1999, allocations: 396.7 kB / 0.841 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1999, allocations: 0 / 0.841 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001493/0.2014, allocations: 479.2 kB / 0.8415 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.2015, allocations: 9.875 kB / 0.8415 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.2015, allocations: 0 / 0.8415 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.2015, allocations: 4 kB / 0.8415 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007822/0.2023, allocations: 111.7 kB / 0.8416 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.2023, allocations: 4 kB / 0.8416 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005689/0.2028, allocations: 39.94 kB / 0.8416 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.615e-05/0.2029, allocations: 31.92 kB / 0.8416 GB, free: 14.81 MB / 0.5919 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 0.0001534/0.203, allocations: 118.5 kB / 0.8418 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.263e-05/0.2031, allocations: 3.953 kB / 0.8418 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.672e-05/0.2032, allocations: 12.06 kB / 0.8418 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.2032, allocations: 3.938 kB / 0.8418 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2032, allocations: 0 / 0.8418 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.2032, allocations: 0 / 0.8418 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002198/0.2054, allocations: 0.9912 MB / 0.8427 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.2054, allocations: 0 / 0.8427 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007606/0.2062, allocations: 107.7 kB / 0.8428 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.2062, allocations: 0 / 0.8428 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.246e-05/0.2062, allocations: 27.94 kB / 0.8429 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.2062, allocations: 176 / 0.8429 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2062, allocations: 7.922 kB / 0.8429 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002285/0.2085, allocations: 0.7996 MB / 0.8437 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.2087, allocations: 39.83 kB / 0.8437 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.125e-05/0.2087, allocations: 8.062 kB / 0.8437 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006423/0.2094, allocations: 47.92 kB / 0.8438 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.784e-05/0.2094, allocations: 27.92 kB / 0.8438 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.088e-05/0.2095, allocations: 23.94 kB / 0.8438 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.968e-05/0.2095, allocations: 83.28 kB / 0.8439 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.2095, allocations: 0 / 0.8439 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003442/0.2099, allocations: 55.92 kB / 0.8439 GB, free: 12.33 MB / 0.5919 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.002605/0.2125, allocations: 1.344 MB / 0.8453 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001384/0.2139, allocations: 415.5 kB / 0.8456 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.2139, allocations: 4 kB / 0.8457 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006876/0.2146, allocations: 215.7 kB / 0.8459 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.2149, allocations: 12 kB / 0.8459 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008412/0.2233, allocations: 2.945 MB / 0.8487 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.352e-05/0.2234, allocations: 79.77 kB / 0.8488 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004987/0.2239, allocations: 89.09 kB / 0.8489 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000274/0.2242, allocations: 63.3 kB / 0.849 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of SimCode: time 5e-07/0.2242, allocations: 0 / 0.849 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0423/0.2665, allocations: 5.358 MB / 0.8542 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.06, allocations: 7.344 kB / 0.8542 GB, free: 1.832 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv --start-time -1.5 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0012 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.061246856115758] Failed to read output from testmodel.py, exit status != 0: 11.160854680929333 11.17721459 10.998046066 Calling exit ...