Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001295/0.001295, allocations: 110.2 kB / 19.69 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.001515/0.001515, allocations: 213.7 kB / 23.01 MB, free: 4.566 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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.268/3.268, allocations: 0.505 GB / 0.8108 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 300] "Notification: Buildings 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.0022/0.0022, allocations: 73.62 kB / 1.178 GB, free: 16.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3421, allocations: 180.2 MB / 1.354 GB, free: 7.902 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001736/0.3438, allocations: 0.6108 MB / 1.355 GB, free: 7.293 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002151/0.3459, allocations: 1.525 MB / 1.356 GB, free: 5.75 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.918e-05/0.346, allocations: 0 / 1.356 GB, free: 5.75 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.332e-05/0.346, allocations: 0 / 1.356 GB, free: 5.75 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 2.531e-05/0.346, allocations: 4 kB / 1.356 GB, free: 5.746 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004733/0.3465, allocations: 139.4 kB / 1.356 GB, free: 5.609 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.165e-05/0.3466, allocations: 31.97 kB / 1.356 GB, free: 5.578 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.512e-05/0.3466, allocations: 0 / 1.356 GB, free: 5.578 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.533e-05/0.3466, allocations: 19.98 kB / 1.356 GB, free: 5.559 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.702e-05/0.3467, allocations: 27.89 kB / 1.356 GB, free: 5.531 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.3468, allocations: 4 kB / 1.356 GB, free: 5.527 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004916/0.3472, allocations: 319.3 kB / 1.357 GB, free: 5.215 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.972e-05/0.3473, allocations: 7.969 kB / 1.357 GB, free: 5.207 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.864e-05/0.3473, allocations: 15.92 kB / 1.357 GB, free: 5.191 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003161/0.3476, allocations: 187.5 kB / 1.357 GB, free: 5.008 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3476, allocations: 0 / 1.357 GB, free: 5.008 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3476, allocations: 3.938 kB / 1.357 GB, free: 5.004 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.3476, allocations: 0 / 1.357 GB, free: 5.004 MB / 1.045 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.0005256/0.3481, allocations: 294 kB / 1.357 GB, free: 4.688 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.3482, allocations: 8.031 kB / 1.357 GB, free: 4.68 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004813/0.3487, allocations: 68.84 kB / 1.357 GB, free: 4.613 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.3488, allocations: 106.5 kB / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.3488, allocations: 8.359 kB / 1.357 GB, free: 4.477 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.3488, allocations: 384 / 1.357 GB, free: 4.477 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002579/0.3491, allocations: 77.95 kB / 1.357 GB, free: 4.395 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3491, allocations: 0 / 1.357 GB, free: 4.395 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.3491, allocations: 0 / 1.357 GB, free: 4.395 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3491, allocations: 0 / 1.357 GB, free: 4.395 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003067/0.3494, allocations: 71.86 kB / 1.358 GB, free: 4.324 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002007/0.3496, allocations: 136.7 kB / 1.358 GB, free: 4.148 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005988/0.3502, allocations: 118.6 kB / 1.358 GB, free: 4.023 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.3504, allocations: 48.91 kB / 1.358 GB, free: 3.973 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004253/0.3508, allocations: 71.91 kB / 1.358 GB, free: 3.902 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.3508, allocations: 46.48 kB / 1.358 GB, free: 3.848 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.3508, allocations: 0 / 1.358 GB, free: 3.848 MB / 1.045 GB Notification: Performance of matching and sorting (n=5): time 0.001154/0.352, allocations: 333.1 kB / 1.358 GB, free: 3.488 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.352, allocations: 55.34 kB / 1.358 GB, free: 3.422 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.779e-05/0.3521, allocations: 97.84 kB / 1.358 GB, free: 3.316 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.3522, allocations: 29.7 kB / 1.358 GB, free: 3.281 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.657e-05/0.3522, allocations: 80.14 kB / 1.359 GB, free: 3.199 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.531e-05/0.3522, allocations: 15.86 kB / 1.359 GB, free: 3.184 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/0.3523, allocations: 17.72 kB / 1.359 GB, free: 3.16 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.3524, allocations: 326.9 kB / 1.359 GB, free: 2.832 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.3526, allocations: 31.97 kB / 1.359 GB, free: 2.801 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.3527, allocations: 35.97 kB / 1.359 GB, free: 2.766 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/0.353, allocations: 80.73 kB / 1.359 GB, free: 2.684 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.353, allocations: 0 / 1.359 GB, free: 2.684 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003545/0.3534, allocations: 117.5 kB / 1.359 GB, free: 2.562 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.3534, allocations: 4 kB / 1.359 GB, free: 2.559 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.3534, allocations: 4 kB / 1.359 GB, free: 2.555 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.3534, allocations: 0 / 1.359 GB, free: 2.555 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.3536, allocations: 27.97 kB / 1.359 GB, free: 2.527 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.3536, allocations: 0 / 1.359 GB, free: 2.527 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.959e-05/0.3537, allocations: 11.98 kB / 1.359 GB, free: 2.516 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.3537, allocations: 4 kB / 1.359 GB, free: 2.512 MB / 1.045 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 9.381e-05/0.3538, allocations: 113.8 kB / 1.359 GB, free: 2.391 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.3538, allocations: 11.89 kB / 1.359 GB, free: 2.379 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004505/0.3543, allocations: 137.3 kB / 1.359 GB, free: 2.242 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3543, allocations: 0 / 1.359 GB, free: 2.242 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3543, allocations: 0 / 1.359 GB, free: 2.242 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3543, allocations: 4 kB / 1.359 GB, free: 2.238 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.3544, allocations: 140.7 kB / 1.36 GB, free: 2.059 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3544, allocations: 320 / 1.36 GB, free: 2.059 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.3546, allocations: 31.91 kB / 1.36 GB, free: 2.027 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3546, allocations: 0 / 1.36 GB, free: 2.027 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.3546, allocations: 8 kB / 1.36 GB, free: 2.02 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3546, allocations: 0 / 1.36 GB, free: 2.02 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3546, allocations: 0 / 1.36 GB, free: 2.02 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005552/0.3552, allocations: 177 kB / 1.36 GB, free: 1.828 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.549e-05/0.3552, allocations: 19.84 kB / 1.36 GB, free: 1.809 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.3553, allocations: 4 kB / 1.36 GB, free: 1.805 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.3554, allocations: 19.97 kB / 1.36 GB, free: 1.785 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.374e-05/0.3554, allocations: 0 / 1.36 GB, free: 1.785 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.3554, allocations: 8.062 kB / 1.36 GB, free: 1.777 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.309e-05/0.3554, allocations: 79.27 kB / 1.36 GB, free: 1.699 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3554, allocations: 0 / 1.36 GB, free: 1.699 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002549/0.3557, allocations: 31.88 kB / 1.36 GB, free: 1.668 MB / 1.045 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.0002197/0.3559, allocations: 123 kB / 1.36 GB, free: 1.535 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000394/0.3563, allocations: 84.02 kB / 1.36 GB, free: 1.453 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3563, allocations: 0 / 1.36 GB, free: 1.453 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.3565, allocations: 51.84 kB / 1.36 GB, free: 1.402 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.3566, allocations: 4 kB / 1.36 GB, free: 1.398 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006685/0.3573, allocations: 211.1 kB / 1.36 GB, free: 1.16 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.3576, allocations: 0.6807 MB / 1.361 GB, free: 464 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.178e-05/0.3577, allocations: 11.44 kB / 1.361 GB, free: 452 kB / 1.045 GB Notification: Performance of SimCode: time 3.11e-07/0.3577, allocations: 0 / 1.361 GB, free: 452 kB / 1.045 GB Notification: Performance of Templates: time 0.003252/0.361, allocations: 1.135 MB / 1.362 GB, free: 15.3 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 11.106054626987316] Failed to read output from testmodel.py, exit status != 0: 0.36953326198272407 0.38438118699999996 0.03365067299999994 Calling exit ...