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.001558/0.001558, allocations: 104.3 kB / 19.71 MB, free: 2.148 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.001677/0.001677, allocations: 206.6 kB / 22.99 MB, free: 4.965 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.361/1.361, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.002533/0.002533, allocations: 270.5 kB / 313.5 MB, free: 2.613 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.172/1.172, allocations: 180.6 MB / 0.5377 GB, free: 14.47 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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [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.002943/0.002943, allocations: 98.36 kB / 0.7408 GB, free: 27.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1822, allocations: 95.38 MB / 0.8339 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002107/0.1843, allocations: 0.7795 MB / 0.8347 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00206/0.1863, allocations: 1.464 MB / 0.8361 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.036e-05/0.1863, allocations: 3.938 kB / 0.8361 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.107e-05/0.1864, allocations: 3.938 kB / 0.8361 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.153e-05/0.1864, allocations: 3.938 kB / 0.8361 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005183/0.1869, allocations: 149.6 kB / 0.8363 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.75e-05/0.187, allocations: 43.97 kB / 0.8363 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.898e-05/0.1871, allocations: 0 / 0.8363 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.9e-05/0.1871, allocations: 31.91 kB / 0.8363 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.89e-05/0.1872, allocations: 35.83 kB / 0.8364 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.1872, allocations: 4 kB / 0.8364 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003987/0.1876, allocations: 247.5 kB / 0.8366 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.74e-05/0.1876, allocations: 4 kB / 0.8366 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.426e-05/0.1877, allocations: 27.86 kB / 0.8366 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003275/0.188, allocations: 211.4 kB / 0.8368 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.188, allocations: 0 / 0.8368 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.904e-06/0.188, allocations: 0 / 0.8368 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.188, allocations: 0 / 0.8368 GB, free: 4.777 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.0006505/0.1887, allocations: 333.7 kB / 0.8371 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.1887, allocations: 8.75 kB / 0.8372 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004311/0.1892, allocations: 68.84 kB / 0.8372 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.1893, allocations: 114.4 kB / 0.8373 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.1893, allocations: 8.375 kB / 0.8373 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.1893, allocations: 4.375 kB / 0.8373 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004189/0.1897, allocations: 173.2 kB / 0.8375 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.1898, allocations: 0 / 0.8375 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.1898, allocations: 4 kB / 0.8375 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.1898, allocations: 3.984 kB / 0.8375 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000488/0.1903, allocations: 99.91 kB / 0.8376 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005904/0.1909, allocations: 272.4 kB / 0.8379 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007044/0.1916, allocations: 154.4 kB / 0.838 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002271/0.1918, allocations: 56.75 kB / 0.8381 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.1918, allocations: 8 kB / 0.8381 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.1918, allocations: 30.56 kB / 0.8381 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.1918, allocations: 0 / 0.8381 GB, free: 3.344 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.01742/0.2093, allocations: 2.687 MB / 0.8407 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.2093, allocations: 51.41 kB / 0.8408 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.925e-05/0.2094, allocations: 109.7 kB / 0.8409 GB, free: 428 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.863e-05/0.2095, allocations: 29.7 kB / 0.8409 GB, free: 392 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.442e-05/0.2095, allocations: 92.03 kB / 0.841 GB, free: 296 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.031e-05/0.2096, allocations: 39.69 kB / 0.841 GB, free: 256 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.2097, allocations: 65.58 kB / 0.8411 GB, free: 184 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.2099, allocations: 322.8 kB / 0.8414 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006601/0.2106, allocations: 191.8 kB / 0.8416 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000642/0.2112, allocations: 191.8 kB / 0.8418 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.2125, allocations: 394.5 kB / 0.8422 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2125, allocations: 0 / 0.8422 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001542/0.2141, allocations: 473.2 kB / 0.8426 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.2141, allocations: 4 kB / 0.8426 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.2141, allocations: 3.938 kB / 0.8426 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.2141, allocations: 7.984 kB / 0.8426 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007972/0.2149, allocations: 103.8 kB / 0.8427 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.2149, allocations: 0 / 0.8427 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005825/0.2155, allocations: 59.81 kB / 0.8428 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.091e-05/0.2155, allocations: 19.94 kB / 0.8428 GB, free: 14.43 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.0001635/0.2157, allocations: 114.5 kB / 0.8429 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.952e-05/0.2158, allocations: 7.953 kB / 0.8429 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.891e-05/0.2158, allocations: 16.05 kB / 0.8429 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.2158, allocations: 4 kB / 0.8429 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.2159, allocations: 4 kB / 0.8429 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.2159, allocations: 3.938 kB / 0.8429 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002235/0.2181, allocations: 0.9567 MB / 0.8439 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2181, allocations: 0 / 0.8439 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008027/0.2189, allocations: 103.8 kB / 0.844 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.2189, allocations: 0 / 0.844 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.481e-05/0.219, allocations: 31.86 kB / 0.844 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.219, allocations: 3.938 kB / 0.844 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.219, allocations: 3.938 kB / 0.844 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002334/0.2213, allocations: 0.7901 MB / 0.8448 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.2214, allocations: 39.83 kB / 0.8448 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.338e-05/0.2215, allocations: 7.984 kB / 0.8448 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006634/0.2222, allocations: 55.94 kB / 0.8449 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.292e-05/0.2222, allocations: 27.92 kB / 0.8449 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.535e-05/0.2223, allocations: 23.94 kB / 0.8449 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.928e-05/0.2224, allocations: 87.44 kB / 0.845 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.2224, allocations: 4 kB / 0.845 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003621/0.2227, allocations: 47.94 kB / 0.8451 GB, free: 11.98 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.0001985/0.2229, allocations: 119.1 kB / 0.8452 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001434/0.2243, allocations: 419.5 kB / 0.8456 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.2244, allocations: 0 / 0.8456 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007246/0.2251, allocations: 223.7 kB / 0.8458 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.2254, allocations: 12 kB / 0.8458 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004102/0.2295, allocations: 0.7807 MB / 0.8466 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.771e-05/0.2296, allocations: 75.83 kB / 0.8466 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003713/0.23, allocations: 79.23 kB / 0.8467 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of SimCode: time 6.21e-07/0.23, allocations: 0 / 0.8467 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of Templates: time 0.006058/0.236, allocations: 3.808 MB / 0.8504 GB, free: 6.414 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.258179030381143] Failed to read output from testmodel.py, exit status != 0: 0.24348415900021791 0.25780044799999996 0.06691295800000001 Calling exit ...