Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001409/0.001409, allocations: 114 kB / 17.12 MB, free: 6.008 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.001672/0.001672, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.553/1.553, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.042/1.042, allocations: 150 MB / 459.5 MB, free: 5.699 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002031/0.002031, allocations: 83.8 kB / 0.6362 GB, free: 30.35 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1823, allocations: 89.12 MB / 0.7232 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002784/0.1851, allocations: 0.7816 MB / 0.724 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002675/0.1877, allocations: 1.542 MB / 0.7255 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.311e-05/0.1878, allocations: 0 / 0.7255 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.709e-05/0.1878, allocations: 3.938 kB / 0.7255 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.014e-05/0.1879, allocations: 3.938 kB / 0.7255 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008272/0.1887, allocations: 149.8 kB / 0.7256 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.1889, allocations: 47.84 kB / 0.7257 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.475e-05/0.1889, allocations: 4 kB / 0.7257 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.189, allocations: 23.92 kB / 0.7257 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.845e-05/0.1891, allocations: 35.88 kB / 0.7257 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.1891, allocations: 8 kB / 0.7257 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006232/0.1897, allocations: 315.4 kB / 0.726 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.8e-05/0.1898, allocations: 23.91 kB / 0.7261 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.577e-05/0.1898, allocations: 23.86 kB / 0.7261 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004411/0.1903, allocations: 211.7 kB / 0.7263 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1903, allocations: 3.984 kB / 0.7263 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.345e-06/0.1903, allocations: 0 / 0.7263 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.1903, allocations: 0 / 0.7263 GB, free: 0.8594 MB / 0.5294 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.0008316/0.1911, allocations: 398.9 kB / 0.7267 GB, free: 432 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.1912, allocations: 12.03 kB / 0.7267 GB, free: 420 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.613e-05/0.1912, allocations: 42.75 kB / 0.7267 GB, free: 368 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004834/0.1917, allocations: 72.8 kB / 0.7268 GB, free: 296 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.1919, allocations: 172.2 kB / 0.727 GB, free: 84 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.338e-05/0.1919, allocations: 12.36 kB / 0.727 GB, free: 72 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.1919, allocations: 8.328 kB / 0.727 GB, free: 64 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000415/0.1923, allocations: 121.7 kB / 0.7271 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1923, allocations: 0 / 0.7271 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.1924, allocations: 4 kB / 0.7271 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1924, allocations: 0 / 0.7271 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005145/0.1929, allocations: 107.9 kB / 0.7272 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006778/0.1936, allocations: 328.7 kB / 0.7275 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007253/0.1943, allocations: 154.4 kB / 0.7277 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000261/0.1945, allocations: 52.75 kB / 0.7277 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.1946, allocations: 0 / 0.7277 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.1946, allocations: 42.56 kB / 0.7278 GB, free: 15.19 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 8.22e-07/0.1946, allocations: 0 / 0.7278 GB, free: 15.19 MB / 0.545 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.01929/0.2139, allocations: 2.835 MB / 0.7305 GB, free: 12.27 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.2139, allocations: 59.34 kB / 0.7306 GB, free: 12.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.473e-05/0.214, allocations: 101.8 kB / 0.7307 GB, free: 12.09 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.629e-05/0.2141, allocations: 25.7 kB / 0.7307 GB, free: 12.05 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.828e-05/0.2142, allocations: 96.08 kB / 0.7308 GB, free: 11.96 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.461e-05/0.2143, allocations: 39.64 kB / 0.7308 GB, free: 11.92 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.2144, allocations: 69.58 kB / 0.7309 GB, free: 11.84 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.2146, allocations: 318.8 kB / 0.7312 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007467/0.2153, allocations: 187.8 kB / 0.7314 GB, free: 11.34 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007371/0.2161, allocations: 195.8 kB / 0.7316 GB, free: 11.15 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/0.2176, allocations: 395.1 kB / 0.7319 GB, free: 10.76 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.2176, allocations: 3.938 kB / 0.7319 GB, free: 10.76 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001783/0.2193, allocations: 481.3 kB / 0.7324 GB, free: 10.28 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.2194, allocations: 4 kB / 0.7324 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.2194, allocations: 0 / 0.7324 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.2194, allocations: 4 kB / 0.7324 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000882/0.2203, allocations: 115.7 kB / 0.7325 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.2203, allocations: 0 / 0.7325 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006432/0.2209, allocations: 47.94 kB / 0.7326 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.596e-05/0.221, allocations: 23.94 kB / 0.7326 GB, free: 10.09 MB / 0.545 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.0001852/0.2212, allocations: 113.8 kB / 0.7327 GB, free: 9.969 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.269e-05/0.2213, allocations: 4 kB / 0.7327 GB, free: 9.965 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.18e-05/0.2213, allocations: 15.95 kB / 0.7327 GB, free: 9.945 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.2213, allocations: 3.938 kB / 0.7327 GB, free: 9.941 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.2213, allocations: 4 kB / 0.7327 GB, free: 9.938 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.2213, allocations: 0 / 0.7327 GB, free: 9.938 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002525/0.2239, allocations: 1.051 MB / 0.7338 GB, free: 8.781 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.2239, allocations: 3.938 kB / 0.7338 GB, free: 8.777 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008695/0.2247, allocations: 107.7 kB / 0.7339 GB, free: 8.672 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.2247, allocations: 8.172 kB / 0.7339 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.295e-05/0.2248, allocations: 23.94 kB / 0.7339 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.2248, allocations: 0 / 0.7339 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2248, allocations: 0 / 0.7339 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002608/0.2274, allocations: 0.7956 MB / 0.7347 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/0.2276, allocations: 117 kB / 0.7348 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.267e-05/0.2276, allocations: 4 kB / 0.7348 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007051/0.2284, allocations: 48 kB / 0.7348 GB, free: 7.645 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.2285, allocations: 31.86 kB / 0.7349 GB, free: 7.613 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-05/0.2285, allocations: 23.94 kB / 0.7349 GB, free: 7.59 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.084e-05/0.2286, allocations: 87.27 kB / 0.735 GB, free: 7.504 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2286, allocations: 0 / 0.735 GB, free: 7.504 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004116/0.229, allocations: 47.94 kB / 0.735 GB, free: 7.457 MB / 0.545 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.00304/0.232, allocations: 1.344 MB / 0.7363 GB, free: 6.086 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001584/0.2336, allocations: 423.4 kB / 0.7367 GB, free: 5.676 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.2336, allocations: 0 / 0.7367 GB, free: 5.676 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007796/0.2344, allocations: 219.7 kB / 0.7369 GB, free: 5.461 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.2348, allocations: 17.55 kB / 0.737 GB, free: 5.445 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009567/0.2444, allocations: 2.936 MB / 0.7398 GB, free: 2.43 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.2447, allocations: 0.6885 MB / 0.7405 GB, free: 1.715 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004932/0.2452, allocations: 92.66 kB / 0.7406 GB, free: 1.621 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002991/0.2455, allocations: 63.3 kB / 0.7406 GB, free: 1.562 MB / 0.545 GB Notification: Performance of SimCode: time 8.42e-07/0.2455, allocations: 0 / 0.7406 GB, free: 1.562 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03164/0.2772, allocations: 4.596 MB / 0.7451 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.26/8.537, allocations: 15.67 kB / 0.7451 GB, free: 13.1 MB / 0.5606 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.70337568107061] Failed to read output from testmodel.py, exit status != 0: 8.609981649089605 8.633635207 8.438889533 Calling exit ...