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.001315/0.001315, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001606/0.001606, allocations: 219.9 kB / 23.01 MB, free: 4.609 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.362/1.362, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.002635/0.002635, allocations: 290.8 kB / 313.5 MB, free: 2.84 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.137/1.137, allocations: 180.6 MB / 0.5377 GB, free: 13.04 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.002768/0.002768, allocations: 109.2 kB / 0.7409 GB, free: 27.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1589, allocations: 95.38 MB / 0.834 GB, free: 8.133 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001916/0.1608, allocations: 0.7925 MB / 0.8348 GB, free: 7.34 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.001893/0.1627, allocations: 1.542 MB / 0.8363 GB, free: 5.781 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.727e-05/0.1627, allocations: 4 kB / 0.8363 GB, free: 5.777 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 2.553e-05/0.1627, allocations: 3.938 kB / 0.8363 GB, free: 5.773 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 4.176e-05/0.1628, allocations: 7.938 kB / 0.8363 GB, free: 5.766 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004703/0.1632, allocations: 139.4 kB / 0.8364 GB, free: 5.629 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 8.843e-05/0.1633, allocations: 51.91 kB / 0.8365 GB, free: 5.578 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 4.112e-05/0.1634, allocations: 11.98 kB / 0.8365 GB, free: 5.566 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 7.303e-05/0.1634, allocations: 31.91 kB / 0.8365 GB, free: 5.535 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 6.19e-05/0.1635, allocations: 31.89 kB / 0.8366 GB, free: 5.504 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.1635, allocations: 4 kB / 0.8366 GB, free: 5.5 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004607/0.164, allocations: 319.4 kB / 0.8369 GB, free: 5.188 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 2.158e-05/0.164, allocations: 15.92 kB / 0.8369 GB, free: 5.172 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 3.207e-05/0.164, allocations: 19.92 kB / 0.8369 GB, free: 5.152 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0003106/0.1643, allocations: 215.3 kB / 0.8371 GB, free: 4.941 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1644, allocations: 4 kB / 0.8371 GB, free: 4.938 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1644, allocations: 0 / 0.8371 GB, free: 4.938 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.1644, allocations: 0 / 0.8371 GB, free: 4.938 MB / 0.5763 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.0005968/0.165, allocations: 333.8 kB / 0.8374 GB, free: 4.582 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.165, allocations: 8.75 kB / 0.8374 GB, free: 4.574 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004381/0.1654, allocations: 72.8 kB / 0.8375 GB, free: 4.504 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.1655, allocations: 114.4 kB / 0.8376 GB, free: 4.367 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.1656, allocations: 8.375 kB / 0.8376 GB, free: 4.359 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.1656, allocations: 8.375 kB / 0.8376 GB, free: 4.352 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000353/0.1659, allocations: 115.2 kB / 0.8377 GB, free: 4.234 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.1659, allocations: 0 / 0.8377 GB, free: 4.234 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.166, allocations: 0 / 0.8377 GB, free: 4.234 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.166, allocations: 4 kB / 0.8377 GB, free: 4.23 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004467/0.1664, allocations: 99.89 kB / 0.8378 GB, free: 4.133 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000552/0.167, allocations: 299.8 kB / 0.8381 GB, free: 3.797 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005993/0.1676, allocations: 166.4 kB / 0.8383 GB, free: 3.625 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002364/0.1678, allocations: 48.81 kB / 0.8383 GB, free: 3.574 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.1678, allocations: 4 kB / 0.8383 GB, free: 3.57 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.1678, allocations: 34.56 kB / 0.8384 GB, free: 3.527 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=7): time 1.123e-06/0.1678, allocations: 3.938 kB / 0.8384 GB, free: 3.523 MB / 0.5763 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.01807/0.1859, allocations: 2.683 MB / 0.841 GB, free: 0.7812 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.186, allocations: 63.28 kB / 0.8411 GB, free: 0.707 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.891e-05/0.186, allocations: 105.8 kB / 0.8412 GB, free: 0.5938 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 5.069e-05/0.1861, allocations: 29.7 kB / 0.8412 GB, free: 0.5586 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 4.922e-05/0.1861, allocations: 88.03 kB / 0.8413 GB, free: 480 kB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 6.448e-05/0.1862, allocations: 35.69 kB / 0.8413 GB, free: 444 kB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.1864, allocations: 69.58 kB / 0.8414 GB, free: 368 kB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.1865, allocations: 322.8 kB / 0.8417 GB, free: 36 kB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006385/0.1871, allocations: 187.8 kB / 0.8419 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006297/0.1878, allocations: 200.9 kB / 0.842 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.189, allocations: 390.9 kB / 0.8424 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.189, allocations: 0 / 0.8424 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001481/0.1905, allocations: 481.1 kB / 0.8429 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.1905, allocations: 4 kB / 0.8429 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1905, allocations: 0 / 0.8429 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.1905, allocations: 0 / 0.8429 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008088/0.1913, allocations: 111.8 kB / 0.843 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.1913, allocations: 3.938 kB / 0.843 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006124/0.192, allocations: 47.94 kB / 0.843 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-05/0.192, allocations: 23.94 kB / 0.8431 GB, free: 14.61 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.0001569/0.1922, allocations: 114.5 kB / 0.8432 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.116e-05/0.1922, allocations: 7.953 kB / 0.8432 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.659e-05/0.1923, allocations: 16.05 kB / 0.8432 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1923, allocations: 192 / 0.8432 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.1923, allocations: 3.938 kB / 0.8432 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1923, allocations: 7.922 kB / 0.8432 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002216/0.1945, allocations: 1.018 MB / 0.8442 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1945, allocations: 0 / 0.8442 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008234/0.1954, allocations: 107.8 kB / 0.8443 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.1954, allocations: 7.938 kB / 0.8443 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.967e-05/0.1954, allocations: 23.94 kB / 0.8443 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1954, allocations: 3.938 kB / 0.8443 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1954, allocations: 0 / 0.8443 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002233/0.1977, allocations: 0.7879 MB / 0.8451 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.1978, allocations: 43.78 kB / 0.8451 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.494e-05/0.1979, allocations: 8 kB / 0.8452 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000667/0.1985, allocations: 44.09 kB / 0.8452 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.685e-05/0.1986, allocations: 31.86 kB / 0.8452 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-05/0.1987, allocations: 31.92 kB / 0.8453 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.737e-05/0.1987, allocations: 75.28 kB / 0.8453 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1987, allocations: 0 / 0.8453 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003809/0.1991, allocations: 55.94 kB / 0.8454 GB, free: 12.09 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.0002337/0.1994, allocations: 115.1 kB / 0.8455 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001371/0.2007, allocations: 419.5 kB / 0.8459 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.2007, allocations: 0 / 0.8459 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006743/0.2014, allocations: 223.7 kB / 0.8461 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.2017, allocations: 14.25 kB / 0.8461 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004109/0.2059, allocations: 0.7924 MB / 0.8469 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.2062, allocations: 0.6929 MB / 0.8476 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003663/0.2065, allocations: 75.23 kB / 0.8476 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of SimCode: time 6.31e-07/0.2065, allocations: 4 kB / 0.8476 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of Templates: time 0.005963/0.2125, allocations: 3.789 MB / 0.8513 GB, free: 5.914 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.219084511976689] Failed to read output from testmodel.py, exit status != 0: 0.21996175684034824 0.234452509 0.06724184200000001 Calling exit ...