Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0007869/0.0007869, allocations: 72.55 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.0007524/0.0007524, 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.8899/0.8899, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.665/1.665, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.9518 GB, free: 2.957 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.232e-05/2.386e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.953 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001099/0.001123, allocations: 0.5994 MB / 0.9524 GB, free: 2.348 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001416/0.00254, allocations: 1.432 MB / 0.9538 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.229e-05/0.002562, allocations: 0 / 0.9538 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.532e-05/0.002577, allocations: 0 / 0.9538 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 2.598e-05/0.002603, allocations: 3.938 kB / 0.9538 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003898/0.002993, allocations: 147.4 kB / 0.9539 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.016e-05/0.003053, allocations: 31.91 kB / 0.9539 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.926e-05/0.003092, allocations: 4 kB / 0.9539 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.98e-05/0.003142, allocations: 19.97 kB / 0.954 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.478e-05/0.003207, allocations: 23.97 kB / 0.954 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.003223, allocations: 0 / 0.954 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002412/0.003464, allocations: 243.5 kB / 0.9542 GB, free: 444 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.00348, allocations: 15.98 kB / 0.9542 GB, free: 428 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.138e-05/0.003502, allocations: 15.91 kB / 0.9542 GB, free: 412 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.003718, allocations: 199.5 kB / 0.9544 GB, free: 212 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.003721, allocations: 4 kB / 0.9544 GB, free: 208 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.412e-06/0.003722, allocations: 3.938 kB / 0.9544 GB, free: 204 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.003726, allocations: 0 / 0.9544 GB, free: 204 kB / 0.9011 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.0003834/0.00411, allocations: 295.8 kB / 0.9547 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.004146, allocations: 12.03 kB / 0.9547 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002493/0.004395, allocations: 60.86 kB / 0.9548 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.16e-05/0.004466, allocations: 113.8 kB / 0.9549 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.004487, allocations: 4.375 kB / 0.9549 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.004505, allocations: 4.375 kB / 0.9549 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.004668, allocations: 99.84 kB / 0.955 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.004675, allocations: 4.188 kB / 0.955 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.004687, allocations: 384 / 0.955 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.004692, allocations: 3.938 kB / 0.955 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.004832, allocations: 63.92 kB / 0.9551 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001212/0.004953, allocations: 113.3 kB / 0.9552 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003434/0.005297, allocations: 126.5 kB / 0.9553 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.7e-05/0.005384, allocations: 40.91 kB / 0.9553 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000243/0.005627, allocations: 79.91 kB / 0.9554 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.005649, allocations: 30.56 kB / 0.9555 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.00565, allocations: 4 kB / 0.9555 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of matching and sorting (n=5): time 0.0007444/0.006394, allocations: 337 kB / 0.9558 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.006423, allocations: 55.34 kB / 0.9558 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.607e-05/0.006469, allocations: 97.84 kB / 0.9559 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.006481, allocations: 29.7 kB / 0.956 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 2.094e-05/0.006502, allocations: 80.14 kB / 0.956 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.006525, allocations: 7.906 kB / 0.956 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.521e-05/0.006561, allocations: 21.72 kB / 0.9561 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003286/0.006889, allocations: 318.8 kB / 0.9564 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.199e-05/0.006971, allocations: 40.09 kB / 0.9564 GB, free: 14 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.868e-05/0.00704, allocations: 31.97 kB / 0.9564 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.007183, allocations: 76.8 kB / 0.9565 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.007184, allocations: 3.938 kB / 0.9565 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001838/0.007368, allocations: 113.6 kB / 0.9566 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.007382, allocations: 10.59 kB / 0.9566 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.007387, allocations: 0 / 0.9566 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.0074, allocations: 0 / 0.9566 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.119e-05/0.007471, allocations: 31.91 kB / 0.9567 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.007476, allocations: 0 / 0.9567 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.906e-05/0.007515, allocations: 11.98 kB / 0.9567 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.007522, allocations: 4 kB / 0.9567 GB, free: 13.72 MB / 0.9167 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.246e-05/0.007575, allocations: 109.8 kB / 0.9568 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.636e-06/0.007583, allocations: 7.953 kB / 0.9568 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.007833, allocations: 141.3 kB / 0.9569 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.007834, allocations: 0 / 0.9569 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.007839, allocations: 3.938 kB / 0.9569 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.007844, allocations: 4 kB / 0.9569 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.632e-05/0.00792, allocations: 113.6 kB / 0.957 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.007921, allocations: 336 / 0.957 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.397e-05/0.007995, allocations: 27.98 kB / 0.9571 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.007996, allocations: 0 / 0.9571 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.008006, allocations: 7.984 kB / 0.9571 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.008008, allocations: 4 kB / 0.9571 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.008009, allocations: 0 / 0.9571 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/0.008308, allocations: 188.9 kB / 0.9573 GB, free: 13.06 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.772e-05/0.008346, allocations: 7.938 kB / 0.9573 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.008359, allocations: 4.031 kB / 0.9573 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.859e-05/0.008408, allocations: 20.05 kB / 0.9573 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.278e-05/0.008431, allocations: 7.922 kB / 0.9573 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.008437, allocations: 4 kB / 0.9573 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.165e-05/0.008459, allocations: 75.28 kB / 0.9574 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.008459, allocations: 0 / 0.9574 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001626/0.008621, allocations: 35.86 kB / 0.9574 GB, free: 12.91 MB / 0.9167 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.000158/0.008779, allocations: 127.1 kB / 0.9575 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001992/0.008979, allocations: 83.95 kB / 0.9576 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.00898, allocations: 0 / 0.9576 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.246e-05/0.009052, allocations: 47.91 kB / 0.9576 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001139/0.009166, allocations: 4 kB / 0.9577 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003905/0.009557, allocations: 210.3 kB / 0.9579 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.55e-05/0.009592, allocations: 63.34 kB / 0.9579 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.895e-05/0.009631, allocations: 12.5 kB / 0.9579 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of SimCode: time 4.01e-07/0.009632, allocations: 0 / 0.9579 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of Templates: time 0.001922/0.01155, allocations: 1.161 MB / 0.9591 GB, free: 11.14 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 6.575755674391985] Failed to read output from testmodel.py, exit status != 0: 0.01698340568691492 0.025665841000000002 0.020271400000000002 Calling exit ...