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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 190.1 kB / 22.23 MB, free: 5.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 179] 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.00238/0.00238, allocations: 284 kB / 306.5 MB, free: 8.324 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.164/1.164, allocations: 180.9 MB / 0.53 GB, free: 14.38 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 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002717/0.002717, allocations: 103.7 kB / 0.7309 GB, free: 38.96 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1578, allocations: 94.2 MB / 0.8229 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002498/0.1603, allocations: 0.8023 MB / 0.8237 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002089/0.1624, allocations: 1.483 MB / 0.8251 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.826e-05/0.1624, allocations: 4 kB / 0.8251 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.181e-05/0.1624, allocations: 3.938 kB / 0.8251 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.534e-05/0.1625, allocations: 3.938 kB / 0.8251 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005738/0.163, allocations: 147.4 kB / 0.8253 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.1632, allocations: 51.66 kB / 0.8253 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.823e-05/0.1632, allocations: 11.89 kB / 0.8253 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.153e-05/0.1633, allocations: 27.91 kB / 0.8254 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.91e-05/0.1634, allocations: 39.83 kB / 0.8254 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.1634, allocations: 4 kB / 0.8254 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005264/0.1639, allocations: 323.4 kB / 0.8257 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.766e-05/0.1639, allocations: 11.98 kB / 0.8257 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.343e-05/0.164, allocations: 23.86 kB / 0.8257 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003761/0.1644, allocations: 215.4 kB / 0.8259 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1644, allocations: 4 kB / 0.8259 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.143e-06/0.1644, allocations: 0 / 0.8259 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.1644, allocations: 0 / 0.8259 GB, free: 14.55 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.0006978/0.1651, allocations: 325.8 kB / 0.8263 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.1651, allocations: 8.625 kB / 0.8263 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004669/0.1656, allocations: 76.8 kB / 0.8263 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.1657, allocations: 118.4 kB / 0.8264 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.1657, allocations: 4.375 kB / 0.8265 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.457e-05/0.1657, allocations: 8.375 kB / 0.8265 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003916/0.1661, allocations: 117.9 kB / 0.8266 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1661, allocations: 0 / 0.8266 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.1662, allocations: 4 kB / 0.8266 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.391e-06/0.1662, allocations: 4 kB / 0.8266 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005006/0.1667, allocations: 99.83 kB / 0.8267 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006165/0.1673, allocations: 315.7 kB / 0.827 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000669/0.168, allocations: 150.5 kB / 0.8271 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002414/0.1682, allocations: 52.81 kB / 0.8272 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.1682, allocations: 4 kB / 0.8272 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.1682, allocations: 38.48 kB / 0.8272 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.1682, allocations: 0 / 0.8272 GB, free: 13.13 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.01818/0.1864, allocations: 2.684 MB / 0.8298 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.1865, allocations: 55.34 kB / 0.8299 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.902e-05/0.1866, allocations: 101.9 kB / 0.83 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.559e-05/0.1866, allocations: 29.7 kB / 0.83 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.435e-05/0.1867, allocations: 88.06 kB / 0.8301 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.675e-05/0.1867, allocations: 47.64 kB / 0.8301 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/0.1869, allocations: 65.58 kB / 0.8302 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.187, allocations: 314.8 kB / 0.8305 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000682/0.1877, allocations: 195.7 kB / 0.8307 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006721/0.1884, allocations: 197.9 kB / 0.8309 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/0.1898, allocations: 384.5 kB / 0.8312 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1898, allocations: 3.938 kB / 0.8312 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001595/0.1913, allocations: 489.3 kB / 0.8317 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.1914, allocations: 4 kB / 0.8317 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1914, allocations: 0 / 0.8317 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.1914, allocations: 0 / 0.8317 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000817/0.1922, allocations: 111.8 kB / 0.8318 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.1922, allocations: 4.328 kB / 0.8318 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006076/0.1928, allocations: 43.94 kB / 0.8319 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-05/0.1929, allocations: 23.94 kB / 0.8319 GB, free: 8.219 MB / 0.5762 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.0001615/0.193, allocations: 126.4 kB / 0.832 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.202e-05/0.1931, allocations: 4 kB / 0.832 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.18e-05/0.1932, allocations: 8.062 kB / 0.832 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1932, allocations: 0 / 0.832 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.1932, allocations: 3.938 kB / 0.832 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1932, allocations: 0 / 0.832 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002313/0.1955, allocations: 1.023 MB / 0.833 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1955, allocations: 3.984 kB / 0.833 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008125/0.1963, allocations: 107.7 kB / 0.8331 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.488e-05/0.1963, allocations: 7.938 kB / 0.8331 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.481e-05/0.1964, allocations: 24.03 kB / 0.8332 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.1964, allocations: 3.938 kB / 0.8332 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1964, allocations: 0 / 0.8332 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002439/0.1988, allocations: 0.7981 MB / 0.834 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/0.199, allocations: 35.88 kB / 0.834 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.707e-05/0.199, allocations: 4 kB / 0.834 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006834/0.1997, allocations: 44 kB / 0.834 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.1998, allocations: 35.86 kB / 0.8341 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.147e-05/0.1999, allocations: 27.92 kB / 0.8341 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.777e-05/0.1999, allocations: 79.45 kB / 0.8342 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1999, allocations: 0 / 0.8342 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003822/0.2003, allocations: 55.94 kB / 0.8342 GB, free: 5.707 MB / 0.5762 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.0002097/0.2005, allocations: 119.2 kB / 0.8343 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001503/0.202, allocations: 411.5 kB / 0.8347 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.202, allocations: 0 / 0.8347 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00075/0.2028, allocations: 223.7 kB / 0.8349 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.2031, allocations: 17.28 kB / 0.835 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004258/0.2074, allocations: 0.7594 MB / 0.8357 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.2077, allocations: 0.6961 MB / 0.8364 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005118/0.2082, allocations: 92.66 kB / 0.8365 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002499/0.2085, allocations: 55.3 kB / 0.8365 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of SimCode: time 5.81e-07/0.2085, allocations: 0 / 0.8365 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of Templates: time 0.006837/0.2153, allocations: 3.584 MB / 0.84 GB, free: 15.71 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 sys.exit(0), Time elapsed: 5.738133651204407] Failed to read output from testmodel.py, exit status != 0: 0.22259398363530636 0.23668972999999996 0.069473149 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7ff8596c97b0>