Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.001135/0.001135, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.001254/0.001254, allocations: 177.9 kB / 23.22 MB, free: 1.352 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.8978/0.8978, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.727/1.727, allocations: 377.8 MB / 0.6228 GB, free: 8.668 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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.9823 GB, free: 2.02 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.618e-05, allocations: 5.375 kB / 0.9823 GB, free: 2.016 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001145/0.001171, allocations: 0.5994 MB / 0.9828 GB, free: 1.418 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001424/0.002595, allocations: 1.427 MB / 0.9842 GB, free: 15.97 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.567e-05/0.002621, allocations: 0 / 0.9842 GB, free: 15.97 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 1.474e-05/0.002636, allocations: 4 kB / 0.9842 GB, free: 15.97 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 2.64e-05/0.002662, allocations: 0 / 0.9842 GB, free: 15.97 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004306/0.003093, allocations: 143.3 kB / 0.9844 GB, free: 15.83 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 6.435e-05/0.003157, allocations: 35.95 kB / 0.9844 GB, free: 15.79 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.922e-05/0.003196, allocations: 4 kB / 0.9844 GB, free: 15.79 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.112e-05/0.003247, allocations: 23.92 kB / 0.9844 GB, free: 15.77 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.616e-05/0.003314, allocations: 23.95 kB / 0.9845 GB, free: 15.74 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.003328, allocations: 0 / 0.9845 GB, free: 15.74 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002537/0.003582, allocations: 243.5 kB / 0.9847 GB, free: 15.5 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.6e-05/0.003598, allocations: 11.97 kB / 0.9847 GB, free: 15.49 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.278e-05/0.003621, allocations: 11.98 kB / 0.9847 GB, free: 15.48 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002245/0.003845, allocations: 203.4 kB / 0.9849 GB, free: 15.28 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.003847, allocations: 4 kB / 0.9849 GB, free: 15.28 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.51e-07/0.003848, allocations: 0 / 0.9849 GB, free: 15.28 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.003852, allocations: 4 kB / 0.9849 GB, free: 15.27 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003702/0.004222, allocations: 290 kB / 0.9852 GB, free: 14.96 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.004257, allocations: 11.97 kB / 0.9852 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002546/0.004511, allocations: 68.84 kB / 0.9853 GB, free: 14.88 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.959e-05/0.004591, allocations: 109.8 kB / 0.9854 GB, free: 14.75 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.004612, allocations: 384 / 0.9854 GB, free: 14.75 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.004631, allocations: 4.359 kB / 0.9854 GB, free: 14.75 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.004805, allocations: 107.8 kB / 0.9855 GB, free: 14.63 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.004812, allocations: 192 / 0.9855 GB, free: 14.63 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.004824, allocations: 4.375 kB / 0.9855 GB, free: 14.62 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.004831, allocations: 7.938 kB / 0.9855 GB, free: 14.62 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/0.004978, allocations: 59.94 kB / 0.9856 GB, free: 14.56 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001256/0.005103, allocations: 113.3 kB / 0.9857 GB, free: 14.42 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005492/0.005652, allocations: 126.6 kB / 0.9858 GB, free: 14.29 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.335e-05/0.005736, allocations: 44.86 kB / 0.9858 GB, free: 14.24 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002315/0.005967, allocations: 79.91 kB / 0.9859 GB, free: 14.16 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.005984, allocations: 30.56 kB / 0.9859 GB, free: 14.12 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.005986, allocations: 0 / 0.9859 GB, free: 14.12 MB / 0.948 GB Notification: Performance of matching and sorting (n=5): time 0.0006974/0.006683, allocations: 329 kB / 0.9862 GB, free: 13.77 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.00671, allocations: 59.34 kB / 0.9863 GB, free: 13.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.687e-05/0.006757, allocations: 97.84 kB / 0.9864 GB, free: 13.59 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.006768, allocations: 29.7 kB / 0.9864 GB, free: 13.55 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.224e-05/0.00679, allocations: 84.27 kB / 0.9865 GB, free: 13.47 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.006815, allocations: 15.89 kB / 0.9865 GB, free: 13.45 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/0.006853, allocations: 25.7 kB / 0.9865 GB, free: 13.42 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.283e-05/0.006926, allocations: 310.8 kB / 0.9868 GB, free: 13.11 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.554e-05/0.007011, allocations: 35.97 kB / 0.9869 GB, free: 13.07 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.206e-05/0.007083, allocations: 39.95 kB / 0.9869 GB, free: 13.04 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.007233, allocations: 72.81 kB / 0.987 GB, free: 12.96 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.007234, allocations: 0 / 0.987 GB, free: 12.96 MB / 0.948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001902/0.007424, allocations: 121.5 kB / 0.9871 GB, free: 12.84 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.007436, allocations: 4 kB / 0.9871 GB, free: 12.83 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.00744, allocations: 0 / 0.9871 GB, free: 12.83 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.007452, allocations: 0 / 0.9871 GB, free: 12.83 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.349e-05/0.007526, allocations: 27.91 kB / 0.9871 GB, free: 12.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.007531, allocations: 0 / 0.9871 GB, free: 12.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.967e-05/0.00757, allocations: 15.92 kB / 0.9871 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-06/0.007578, allocations: 8 kB / 0.9872 GB, free: 12.78 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 (6): * Single equations (assignments): 6 * 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 5.653e-05/0.007634, allocations: 113.8 kB / 0.9873 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-06/0.007644, allocations: 4 kB / 0.9873 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002489/0.007893, allocations: 133.6 kB / 0.9874 GB, free: 12.52 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.007895, allocations: 64 / 0.9874 GB, free: 12.52 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.007901, allocations: 7.938 kB / 0.9874 GB, free: 12.52 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.007904, allocations: 4 kB / 0.9874 GB, free: 12.51 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.797e-05/0.007982, allocations: 117.3 kB / 0.9875 GB, free: 12.37 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.007983, allocations: 0 / 0.9875 GB, free: 12.37 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.103e-05/0.008054, allocations: 23.97 kB / 0.9875 GB, free: 12.34 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.008056, allocations: 0 / 0.9875 GB, free: 12.34 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.008065, allocations: 336 / 0.9875 GB, free: 12.34 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.008066, allocations: 4 kB / 0.9875 GB, free: 12.34 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.008067, allocations: 0 / 0.9875 GB, free: 12.34 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003112/0.008379, allocations: 188.9 kB / 0.9877 GB, free: 12.14 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.847e-05/0.008417, allocations: 15.92 kB / 0.9877 GB, free: 12.12 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.008431, allocations: 4.031 kB / 0.9877 GB, free: 12.12 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.767e-05/0.008479, allocations: 15.97 kB / 0.9878 GB, free: 12.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.991e-05/0.008499, allocations: 3.938 kB / 0.9878 GB, free: 12.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.008505, allocations: 4 kB / 0.9878 GB, free: 12.09 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.424e-05/0.00853, allocations: 79.27 kB / 0.9878 GB, free: 12.02 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.00853, allocations: 4.156 kB / 0.9878 GB, free: 12.01 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000162/0.008692, allocations: 35.88 kB / 0.9879 GB, free: 11.98 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0001551/0.008847, allocations: 127.6 kB / 0.988 GB, free: 11.84 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002008/0.009048, allocations: 83.86 kB / 0.9881 GB, free: 11.76 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.009049, allocations: 0 / 0.9881 GB, free: 11.76 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.497e-05/0.009124, allocations: 39.97 kB / 0.9881 GB, free: 11.72 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001155/0.009239, allocations: 10.81 kB / 0.9881 GB, free: 11.71 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003835/0.009623, allocations: 198.5 kB / 0.9883 GB, free: 11.49 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.01e-05/0.009663, allocations: 67.2 kB / 0.9884 GB, free: 11.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.136e-05/0.009704, allocations: 24.42 kB / 0.9884 GB, free: 11.38 MB / 0.948 GB Notification: Performance of SimCode: time 5.71e-07/0.009705, allocations: 0 / 0.9884 GB, free: 11.38 MB / 0.948 GB Notification: Performance of Templates: time 0.00192/0.01163, allocations: 1.16 MB / 0.9895 GB, free: 10.23 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 6.618891912512481] Failed to read output from testmodel.py, exit status != 0: 0.016791515052318573 0.02497399099999994 0.019514717999999938 Calling exit ...