Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.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.0007885/0.0007885, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007912/0.0007912, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8975/0.8975, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.781/1.781, allocations: 377.8 MB / 0.6228 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.9823 GB, free: 2.012 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.636e-05/2.802e-05, allocations: 6.219 kB / 0.9823 GB, free: 2.004 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001415/0.001443, allocations: 0.7724 MB / 0.983 GB, free: 1.234 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001464/0.002907, allocations: 1.447 MB / 0.9844 GB, free: 15.77 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.619e-05/0.002943, allocations: 0 / 0.9844 GB, free: 15.77 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 3.06e-05/0.002974, allocations: 7.922 kB / 0.9844 GB, free: 15.76 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 4.1e-05/0.003015, allocations: 11.86 kB / 0.9844 GB, free: 15.75 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004652/0.00348, allocations: 147.4 kB / 0.9846 GB, free: 15.61 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 7.989e-05/0.00356, allocations: 51.89 kB / 0.9846 GB, free: 15.55 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.275e-05/0.003603, allocations: 7.938 kB / 0.9846 GB, free: 15.55 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.926e-05/0.003692, allocations: 31.95 kB / 0.9847 GB, free: 15.52 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.193e-05/0.003744, allocations: 35.89 kB / 0.9847 GB, free: 15.48 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.00376, allocations: 4 kB / 0.9847 GB, free: 15.48 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002652/0.004025, allocations: 251.5 kB / 0.985 GB, free: 15.23 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.004044, allocations: 11.92 kB / 0.985 GB, free: 15.22 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.445e-05/0.004069, allocations: 19.97 kB / 0.985 GB, free: 15.2 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002676/0.004336, allocations: 227.3 kB / 0.9852 GB, free: 14.98 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.004339, allocations: 0 / 0.9852 GB, free: 14.98 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.363e-06/0.00434, allocations: 0 / 0.9852 GB, free: 14.98 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.004344, allocations: 0 / 0.9852 GB, free: 14.98 MB / 0.948 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.0004816/0.004826, allocations: 329.8 kB / 0.9855 GB, free: 14.62 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.004861, allocations: 8.031 kB / 0.9855 GB, free: 14.62 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002586/0.00512, allocations: 76.84 kB / 0.9856 GB, free: 14.54 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.618e-05/0.005206, allocations: 105.8 kB / 0.9857 GB, free: 14.41 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/0.005235, allocations: 12.36 kB / 0.9857 GB, free: 14.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.005262, allocations: 8.375 kB / 0.9857 GB, free: 14.39 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002528/0.005514, allocations: 157.6 kB / 0.9859 GB, free: 14.22 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.005526, allocations: 8.188 kB / 0.9859 GB, free: 14.21 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.00554, allocations: 12.25 kB / 0.9859 GB, free: 14.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.005545, allocations: 3.938 kB / 0.9859 GB, free: 14.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002415/0.005787, allocations: 99.89 kB / 0.986 GB, free: 14.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004173/0.006204, allocations: 264.3 kB / 0.9862 GB, free: 13.81 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003356/0.00654, allocations: 158.3 kB / 0.9864 GB, free: 13.65 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.006656, allocations: 60.81 kB / 0.9864 GB, free: 13.59 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.006677, allocations: 0 / 0.9864 GB, free: 13.59 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.006703, allocations: 38.55 kB / 0.9865 GB, free: 13.54 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.006704, allocations: 0 / 0.9865 GB, free: 13.54 MB / 0.948 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.009222/0.01593, allocations: 2.683 MB / 0.9891 GB, free: 10.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.01596, allocations: 59.39 kB / 0.9892 GB, free: 10.73 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.958e-05/0.01602, allocations: 105.8 kB / 0.9893 GB, free: 10.62 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/0.01606, allocations: 25.7 kB / 0.9893 GB, free: 10.59 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.273e-05/0.0161, allocations: 96.08 kB / 0.9894 GB, free: 10.49 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.33e-05/0.01615, allocations: 31.7 kB / 0.9894 GB, free: 10.46 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.01627, allocations: 69.58 kB / 0.9895 GB, free: 10.38 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.688e-05/0.01635, allocations: 326.7 kB / 0.9898 GB, free: 10.05 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003648/0.01671, allocations: 191.8 kB / 0.99 GB, free: 9.867 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003617/0.01707, allocations: 191.8 kB / 0.9902 GB, free: 9.68 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007541/0.01783, allocations: 392.7 kB / 0.9905 GB, free: 9.293 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.01783, allocations: 0 / 0.9905 GB, free: 9.293 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000901/0.01873, allocations: 477.2 kB / 0.991 GB, free: 8.82 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.01874, allocations: 8 kB / 0.991 GB, free: 8.812 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.01875, allocations: 0 / 0.991 GB, free: 8.812 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.01877, allocations: 3.984 kB / 0.991 GB, free: 8.809 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003984/0.01917, allocations: 107.7 kB / 0.9911 GB, free: 8.703 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.01917, allocations: 4.469 kB / 0.9911 GB, free: 8.699 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002667/0.01944, allocations: 39.94 kB / 0.9911 GB, free: 8.66 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-05/0.01948, allocations: 27.94 kB / 0.9912 GB, free: 8.633 MB / 0.948 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.0001212/0.0196, allocations: 117.8 kB / 0.9913 GB, free: 8.508 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.102e-05/0.01965, allocations: 7.953 kB / 0.9913 GB, free: 8.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.991e-05/0.01969, allocations: 16.11 kB / 0.9913 GB, free: 8.488 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.01969, allocations: 0 / 0.9913 GB, free: 8.488 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.0197, allocations: 0 / 0.9913 GB, free: 8.488 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.0197, allocations: 0 / 0.9913 GB, free: 8.488 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/0.02105, allocations: 0.9724 MB / 0.9923 GB, free: 7.418 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.02105, allocations: 4 kB / 0.9923 GB, free: 7.414 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003739/0.02143, allocations: 99.89 kB / 0.9923 GB, free: 7.316 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.351e-06/0.02143, allocations: 8.125 kB / 0.9924 GB, free: 7.309 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.368e-05/0.02147, allocations: 27.92 kB / 0.9924 GB, free: 7.281 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.02147, allocations: 4 kB / 0.9924 GB, free: 7.277 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.02147, allocations: 0 / 0.9924 GB, free: 7.277 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/0.02284, allocations: 0.7955 MB / 0.9932 GB, free: 6.465 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.02294, allocations: 39.89 kB / 0.9932 GB, free: 6.426 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.785e-05/0.02298, allocations: 8.047 kB / 0.9932 GB, free: 6.418 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000302/0.02328, allocations: 47.94 kB / 0.9933 GB, free: 6.371 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.02334, allocations: 23.92 kB / 0.9933 GB, free: 6.348 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.495e-05/0.02338, allocations: 27.88 kB / 0.9933 GB, free: 6.32 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.053e-05/0.02341, allocations: 87.27 kB / 0.9934 GB, free: 6.234 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.02341, allocations: 4 kB / 0.9934 GB, free: 6.23 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002704/0.02368, allocations: 51.94 kB / 0.9934 GB, free: 6.18 MB / 0.948 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.0003245/0.024, allocations: 107.2 kB / 0.9935 GB, free: 6.066 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008352/0.02484, allocations: 419.5 kB / 0.9939 GB, free: 5.656 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.02484, allocations: 0 / 0.9939 GB, free: 5.656 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003927/0.02523, allocations: 231.6 kB / 0.9942 GB, free: 5.43 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.02552, allocations: 11.98 kB / 0.9942 GB, free: 5.418 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002102/0.02762, allocations: 0.7758 MB / 0.9949 GB, free: 4.613 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.075e-05/0.02768, allocations: 79.27 kB / 0.995 GB, free: 4.516 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002789/0.02795, allocations: 84.3 kB / 0.9951 GB, free: 4.434 MB / 0.948 GB Notification: Performance of SimCode: time 8.82e-07/0.02796, allocations: 0 / 0.9951 GB, free: 4.434 MB / 0.948 GB Notification: Performance of Templates: time 0.003989/0.03194, allocations: 3.803 MB / 0.9988 GB, free: 0.6289 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 6.89419702719897] Failed to read output from testmodel.py, exit status != 0: 0.03785102255642414 0.046589387 0.040488067 Calling exit ...