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.001467/0.001467, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001523/0.001523, allocations: 214.5 kB / 22.99 MB, free: 4.977 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 7.785 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 0.9888/0.9888, allocations: 149.9 MB / 463.1 MB, free: 10.3 MB / 366.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.002318/0.002318, allocations: 70.27 kB / 0.6411 GB, free: 10.07 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1761, allocations: 89.17 MB / 0.7282 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002149/0.1783, allocations: 0.7759 MB / 0.729 GB, free: 196 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002102/0.1804, allocations: 1.443 MB / 0.7304 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.89e-05/0.1804, allocations: 4 kB / 0.7304 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.28e-05/0.1804, allocations: 7.922 kB / 0.7304 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.488e-05/0.1805, allocations: 7.938 kB / 0.7304 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005405/0.181, allocations: 139.5 kB / 0.7305 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.503e-05/0.1811, allocations: 51.89 kB / 0.7306 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.542e-05/0.1811, allocations: 7.938 kB / 0.7306 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.466e-05/0.1812, allocations: 31.91 kB / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.29e-05/0.1813, allocations: 23.91 kB / 0.7306 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.1813, allocations: 8 kB / 0.7306 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004056/0.1817, allocations: 247.5 kB / 0.7309 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.744e-05/0.1817, allocations: 19.92 kB / 0.7309 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.512e-05/0.1818, allocations: 23.91 kB / 0.7309 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003128/0.1821, allocations: 199.7 kB / 0.7311 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.1821, allocations: 0 / 0.7311 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1821, allocations: 0 / 0.7311 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.1821, allocations: 3.938 kB / 0.7311 GB, free: 13.97 MB / 0.5606 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.0006689/0.1828, allocations: 329.8 kB / 0.7314 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.1828, allocations: 8.031 kB / 0.7314 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.434e-05/0.1829, allocations: 38.75 kB / 0.7315 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004325/0.1833, allocations: 72.8 kB / 0.7315 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.1834, allocations: 114.4 kB / 0.7316 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.1834, allocations: 4.375 kB / 0.7317 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.1834, allocations: 16.33 kB / 0.7317 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004115/0.1839, allocations: 165.1 kB / 0.7318 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.1839, allocations: 3.938 kB / 0.7318 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.1839, allocations: 0 / 0.7318 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.1839, allocations: 0 / 0.7318 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004759/0.1844, allocations: 103.9 kB / 0.7319 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006707/0.185, allocations: 303.7 kB / 0.7322 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000672/0.1857, allocations: 146.5 kB / 0.7324 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/0.186, allocations: 60.8 kB / 0.7324 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.186, allocations: 0 / 0.7324 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.663e-05/0.186, allocations: 38.5 kB / 0.7325 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.186, allocations: 0 / 0.7325 GB, free: 12.45 MB / 0.5606 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.01774/0.2038, allocations: 2.686 MB / 0.7351 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.2038, allocations: 59.34 kB / 0.7351 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.2039, allocations: 97.86 kB / 0.7352 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.487e-05/0.204, allocations: 25.7 kB / 0.7352 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.166e-05/0.204, allocations: 100 kB / 0.7353 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.302e-05/0.2041, allocations: 39.64 kB / 0.7354 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.2043, allocations: 69.58 kB / 0.7354 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.2045, allocations: 314.8 kB / 0.7357 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006939/0.2052, allocations: 187.8 kB / 0.7359 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006777/0.2058, allocations: 203.3 kB / 0.7361 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0014/0.2072, allocations: 392.5 kB / 0.7365 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2072, allocations: 0 / 0.7365 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001645/0.2089, allocations: 481.3 kB / 0.737 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.2089, allocations: 4 kB / 0.737 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.2089, allocations: 4 kB / 0.737 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.2089, allocations: 0 / 0.737 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008317/0.2098, allocations: 107.7 kB / 0.7371 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.2098, allocations: 0 / 0.7371 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005926/0.2104, allocations: 52.03 kB / 0.7371 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.149e-05/0.2104, allocations: 35.86 kB / 0.7371 GB, free: 7.527 MB / 0.5606 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.0001877/0.2106, allocations: 113.8 kB / 0.7373 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.181e-05/0.2107, allocations: 4 kB / 0.7373 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.014e-05/0.2108, allocations: 12.06 kB / 0.7373 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.2108, allocations: 7.938 kB / 0.7373 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2108, allocations: 0 / 0.7373 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2108, allocations: 0 / 0.7373 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002358/0.2131, allocations: 0.9989 MB / 0.7383 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.2131, allocations: 0 / 0.7383 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007955/0.2139, allocations: 103.7 kB / 0.7384 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.2139, allocations: 4 kB / 0.7384 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.185e-05/0.214, allocations: 19.94 kB / 0.7384 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.214, allocations: 4 kB / 0.7384 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.214, allocations: 0 / 0.7384 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002419/0.2164, allocations: 0.7917 MB / 0.7392 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/0.2166, allocations: 39.88 kB / 0.7392 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.298e-05/0.2166, allocations: 7.938 kB / 0.7392 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000641/0.2173, allocations: 47.92 kB / 0.7392 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.775e-05/0.2174, allocations: 31.98 kB / 0.7393 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.095e-05/0.2174, allocations: 19.94 kB / 0.7393 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.472e-05/0.2175, allocations: 87.45 kB / 0.7394 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2175, allocations: 0 / 0.7394 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003722/0.2179, allocations: 59.92 kB / 0.7394 GB, free: 5.051 MB / 0.5606 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.002744/0.2206, allocations: 1.34 MB / 0.7407 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001424/0.222, allocations: 419.5 kB / 0.7411 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.222, allocations: 0 / 0.7411 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007322/0.2228, allocations: 223.7 kB / 0.7414 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.2231, allocations: 13.75 kB / 0.7414 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008605/0.2317, allocations: 2.944 MB / 0.7442 GB, free: 28 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.116e-05/0.2318, allocations: 79.27 kB / 0.7443 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000528/0.2323, allocations: 88.67 kB / 0.7444 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002739/0.2326, allocations: 67.3 kB / 0.7445 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of SimCode: time 6.31e-07/0.2326, allocations: 4 kB / 0.7445 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04204/0.2746, allocations: 5.325 MB / 0.7497 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.77, allocations: 16.27 kB / 0.7497 GB, free: 10.58 MB / 0.5762 GB " [Timeout remaining time 648] (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: 16.001382717862725] Failed to read output from testmodel.py, exit status != 0: 11.878372945822775 12.215878043 12.031117552 Calling exit ...