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.001279/0.001279, allocations: 118.8 kB / 17.84 MB, free: 5.234 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.001557/0.001557, allocations: 202.3 kB / 20.79 MB, free: 2.297 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.518/1.518, allocations: 230.6 MB / 254.2 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.033/1.033, allocations: 150 MB / 460.2 MB, free: 5.637 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="cs",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="cs",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.001997/0.001997, allocations: 72.56 kB / 0.6369 GB, free: 30.27 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1622, allocations: 89.13 MB / 0.7239 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002021/0.1642, allocations: 0.7801 MB / 0.7247 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002142/0.1664, allocations: 1.538 MB / 0.7262 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.728e-05/0.1664, allocations: 0 / 0.7262 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.347e-05/0.1664, allocations: 3.938 kB / 0.7262 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.172e-05/0.1665, allocations: 7.938 kB / 0.7262 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005228/0.167, allocations: 143.5 kB / 0.7263 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.1671, allocations: 55.83 kB / 0.7264 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.802e-05/0.1671, allocations: 4 kB / 0.7264 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.935e-05/0.1672, allocations: 23.92 kB / 0.7264 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.043e-05/0.1673, allocations: 39.88 kB / 0.7264 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.1673, allocations: 4 kB / 0.7264 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004979/0.1678, allocations: 315.4 kB / 0.7267 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.17e-05/0.1678, allocations: 15.91 kB / 0.7267 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.731e-05/0.1678, allocations: 27.86 kB / 0.7268 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003307/0.1682, allocations: 211.6 kB / 0.727 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.1682, allocations: 4 kB / 0.727 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1682, allocations: 0 / 0.727 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.1682, allocations: 0 / 0.727 GB, free: 0.8555 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.000704/0.1689, allocations: 402.9 kB / 0.7274 GB, free: 424 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1689, allocations: 8.031 kB / 0.7274 GB, free: 416 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.096e-05/0.1689, allocations: 4.188 kB / 0.7274 GB, free: 412 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.549e-05/0.169, allocations: 34.75 kB / 0.7274 GB, free: 368 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004728/0.1695, allocations: 76.8 kB / 0.7275 GB, free: 292 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.1696, allocations: 168.3 kB / 0.7276 GB, free: 84 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.1696, allocations: 8.375 kB / 0.7276 GB, free: 76 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.1696, allocations: 12.31 kB / 0.7277 GB, free: 64 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004109/0.1701, allocations: 113.5 kB / 0.7278 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.1701, allocations: 3.984 kB / 0.7278 GB, free: 15.94 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.1701, allocations: 0 / 0.7278 GB, free: 15.94 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1701, allocations: 4 kB / 0.7278 GB, free: 15.94 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005462/0.1706, allocations: 111.8 kB / 0.7279 GB, free: 15.83 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006112/0.1712, allocations: 332.7 kB / 0.7282 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007222/0.172, allocations: 154.4 kB / 0.7283 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002558/0.1722, allocations: 52.81 kB / 0.7284 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.1722, allocations: 0 / 0.7284 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.1723, allocations: 42.5 kB / 0.7284 GB, free: 15.19 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.1723, allocations: 0 / 0.7284 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.01941/0.1917, allocations: 2.839 MB / 0.7312 GB, free: 12.25 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.1917, allocations: 51.41 kB / 0.7313 GB, free: 12.19 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.1918, allocations: 105.8 kB / 0.7314 GB, free: 12.08 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.456e-05/0.1919, allocations: 25.7 kB / 0.7314 GB, free: 12.05 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.952e-05/0.192, allocations: 88.08 kB / 0.7315 GB, free: 11.96 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.645e-05/0.192, allocations: 47.62 kB / 0.7315 GB, free: 11.91 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001975/0.1922, allocations: 65.58 kB / 0.7316 GB, free: 11.84 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1924, allocations: 322.8 kB / 0.7319 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007376/0.1931, allocations: 191.8 kB / 0.7321 GB, free: 11.33 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007382/0.1939, allocations: 199.7 kB / 0.7323 GB, free: 11.13 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001502/0.1954, allocations: 393.7 kB / 0.7326 GB, free: 10.75 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1954, allocations: 0 / 0.7326 GB, free: 10.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001731/0.1971, allocations: 479.7 kB / 0.7331 GB, free: 10.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.1971, allocations: 6.031 kB / 0.7331 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1971, allocations: 0 / 0.7331 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.1971, allocations: 3.938 kB / 0.7331 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008749/0.198, allocations: 115.7 kB / 0.7332 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.198, allocations: 0 / 0.7332 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006539/0.1987, allocations: 43.94 kB / 0.7333 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.14e-05/0.1987, allocations: 27.94 kB / 0.7333 GB, free: 10.08 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.0001743/0.1989, allocations: 113.8 kB / 0.7334 GB, free: 9.961 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.763e-05/0.199, allocations: 4 kB / 0.7334 GB, free: 9.957 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.89e-05/0.1991, allocations: 15.95 kB / 0.7334 GB, free: 9.934 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.1991, allocations: 7.938 kB / 0.7334 GB, free: 9.926 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.1991, allocations: 0 / 0.7334 GB, free: 9.926 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1991, allocations: 0 / 0.7334 GB, free: 9.926 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002515/0.2016, allocations: 1.047 MB / 0.7344 GB, free: 8.773 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.2016, allocations: 7.938 kB / 0.7344 GB, free: 8.766 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008978/0.2025, allocations: 107.8 kB / 0.7345 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.2025, allocations: 4 kB / 0.7346 GB, free: 8.656 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.708e-05/0.2026, allocations: 19.94 kB / 0.7346 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2026, allocations: 0 / 0.7346 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2026, allocations: 0 / 0.7346 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002577/0.2051, allocations: 0.7918 MB / 0.7353 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/0.2053, allocations: 116.9 kB / 0.7355 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.626e-05/0.2054, allocations: 4.25 kB / 0.7355 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007093/0.2061, allocations: 51.88 kB / 0.7355 GB, free: 7.641 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.2062, allocations: 31.91 kB / 0.7355 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.437e-05/0.2063, allocations: 24.03 kB / 0.7356 GB, free: 7.586 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.66e-05/0.2063, allocations: 91.2 kB / 0.7356 GB, free: 7.496 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2063, allocations: 0 / 0.7356 GB, free: 7.496 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000399/0.2067, allocations: 51.94 kB / 0.7357 GB, free: 7.445 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.00297/0.2097, allocations: 1.348 MB / 0.737 GB, free: 6.07 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001636/0.2113, allocations: 415.5 kB / 0.7374 GB, free: 5.664 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.2113, allocations: 4 kB / 0.7374 GB, free: 5.66 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000804/0.2121, allocations: 219.7 kB / 0.7376 GB, free: 5.445 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004019/0.2125, allocations: 11.98 kB / 0.7376 GB, free: 5.434 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00964/0.2222, allocations: 2.936 MB / 0.7405 GB, free: 2.418 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.2225, allocations: 0.6929 MB / 0.7412 GB, free: 1.699 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004916/0.223, allocations: 92.66 kB / 0.7413 GB, free: 1.609 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003066/0.2233, allocations: 63.3 kB / 0.7413 GB, free: 1.547 MB / 0.545 GB Notification: Performance of SimCode: time 9.01e-07/0.2233, allocations: 0 / 0.7413 GB, free: 1.547 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02319/0.2465, allocations: 4.64 MB / 0.7459 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.638/8.884, allocations: 14.61 kB / 0.7459 GB, free: 13.05 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --stepSize=0.0012 --timeout=50 --tolerance=1e-08 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 os._exit(0), Time elapsed: 12.802027476020157] Failed to read output from testmodel.py, exit status != 0: 9.012099494982976 9.029364154 8.858086322 Calling exit ...