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.001589/0.001589, allocations: 102.6 kB / 16.45 MB, free: 6.449 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.001484/0.001484, allocations: 212 kB / 19.43 MB, free: 3.637 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.941 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.002437/0.002437, allocations: 285.5 kB / 309.1 MB, free: 3.957 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.311/1.311, allocations: 180.9 MB / 0.5333 GB, free: 13.79 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 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.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.002815/0.002815, allocations: 107.4 kB / 0.7343 GB, free: 28.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1928, allocations: 95.34 MB / 0.8274 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002105/0.1949, allocations: 0.783 MB / 0.8282 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002183/0.1971, allocations: 1.542 MB / 0.8297 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.406e-05/0.1972, allocations: 0 / 0.8297 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.005e-05/0.1972, allocations: 3.938 kB / 0.8297 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.596e-05/0.1973, allocations: 3.938 kB / 0.8297 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005642/0.1978, allocations: 151.4 kB / 0.8298 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.1979, allocations: 51.91 kB / 0.8299 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.198e-05/0.198, allocations: 0 / 0.8299 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.182e-05/0.198, allocations: 27.91 kB / 0.8299 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.044e-05/0.1981, allocations: 35.89 kB / 0.8299 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.1981, allocations: 8 kB / 0.83 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004909/0.1986, allocations: 319.3 kB / 0.8303 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.332e-05/0.1987, allocations: 15.91 kB / 0.8303 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.932e-05/0.1987, allocations: 23.88 kB / 0.8303 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003591/0.1991, allocations: 207.7 kB / 0.8305 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1991, allocations: 4 kB / 0.8305 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1991, allocations: 0 / 0.8305 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.1991, allocations: 0 / 0.8305 GB, free: 6.629 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.000772/0.1998, allocations: 406.9 kB / 0.8309 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.1999, allocations: 8.031 kB / 0.8309 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.452e-05/0.1999, allocations: 38.75 kB / 0.8309 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004722/0.2004, allocations: 72.8 kB / 0.831 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.2006, allocations: 176.3 kB / 0.8312 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.2006, allocations: 8.375 kB / 0.8312 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.2006, allocations: 4.375 kB / 0.8312 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003998/0.201, allocations: 125.5 kB / 0.8313 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.201, allocations: 0 / 0.8313 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.201, allocations: 0 / 0.8313 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.201, allocations: 0 / 0.8313 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005049/0.2015, allocations: 103.9 kB / 0.8314 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006247/0.2022, allocations: 332.6 kB / 0.8317 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006859/0.2029, allocations: 154.4 kB / 0.8319 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002509/0.2031, allocations: 48.81 kB / 0.8319 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.2031, allocations: 4 kB / 0.8319 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.2031, allocations: 38.56 kB / 0.832 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.2032, allocations: 0 / 0.832 GB, free: 4.973 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.019/0.2221, allocations: 2.839 MB / 0.8347 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.2222, allocations: 59.34 kB / 0.8348 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.2223, allocations: 101.8 kB / 0.8349 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.679e-05/0.2224, allocations: 25.7 kB / 0.8349 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.901e-05/0.2225, allocations: 100 kB / 0.835 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.878e-05/0.2225, allocations: 35.69 kB / 0.835 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001968/0.2227, allocations: 69.58 kB / 0.8351 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.2229, allocations: 318.8 kB / 0.8354 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007044/0.2236, allocations: 195.8 kB / 0.8356 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007328/0.2244, allocations: 191.8 kB / 0.8358 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/0.2258, allocations: 388.5 kB / 0.8361 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2258, allocations: 0 / 0.8361 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001654/0.2274, allocations: 485.2 kB / 0.8366 GB, free: 56 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.2275, allocations: 4 kB / 0.8366 GB, free: 52 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.2275, allocations: 7.984 kB / 0.8366 GB, free: 44 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.2275, allocations: 0 / 0.8366 GB, free: 44 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000866/0.2284, allocations: 107.7 kB / 0.8367 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.2284, allocations: 0 / 0.8367 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005888/0.229, allocations: 43.94 kB / 0.8368 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.952e-05/0.229, allocations: 31.88 kB / 0.8368 GB, free: 15.86 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.0001926/0.2292, allocations: 120.6 kB / 0.8369 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.781e-05/0.2293, allocations: 7.953 kB / 0.8369 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.737e-05/0.2294, allocations: 11.95 kB / 0.8369 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-06/0.2294, allocations: 7.938 kB / 0.8369 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.2294, allocations: 0 / 0.8369 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2294, allocations: 0 / 0.8369 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002537/0.2319, allocations: 1.039 MB / 0.8379 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2319, allocations: 0 / 0.8379 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008254/0.2327, allocations: 123.7 kB / 0.8381 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.2327, allocations: 0 / 0.8381 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.832e-05/0.2328, allocations: 19.94 kB / 0.8381 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.2328, allocations: 4.109 kB / 0.8381 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.2328, allocations: 7.922 kB / 0.8381 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002485/0.2353, allocations: 0.7959 MB / 0.8389 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001863/0.2355, allocations: 120.9 kB / 0.839 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.949e-05/0.2355, allocations: 0 / 0.839 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006735/0.2362, allocations: 52 kB / 0.839 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.2363, allocations: 23.92 kB / 0.8391 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.588e-05/0.2364, allocations: 27.92 kB / 0.8391 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.08e-05/0.2364, allocations: 79.28 kB / 0.8392 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2364, allocations: 0 / 0.8392 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003875/0.2368, allocations: 55.94 kB / 0.8392 GB, free: 13.23 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.00286/0.2397, allocations: 1.349 MB / 0.8405 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001561/0.2413, allocations: 417.9 kB / 0.8409 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2413, allocations: 0 / 0.8409 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007685/0.242, allocations: 231.6 kB / 0.8412 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.2424, allocations: 9.719 kB / 0.8412 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009063/0.2515, allocations: 2.947 MB / 0.844 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.2518, allocations: 0.689 MB / 0.8447 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004844/0.2523, allocations: 92.66 kB / 0.8448 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002923/0.2526, allocations: 63.3 kB / 0.8449 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of SimCode: time 6.11e-07/0.2526, allocations: 0 / 0.8449 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02801/0.2806, allocations: 4.623 MB / 0.8494 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.227/8.507, allocations: 15.58 kB / 0.8494 GB, free: 2.832 MB / 0.5919 GB " [Timeout remaining time 651] (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: 12.895162092987448] Failed to read output from testmodel.py, exit status != 0: 8.578849082812667 8.603836586 8.40027131 Calling exit ...