Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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: 92.2 kB / 20.19 MB, free: 4.352 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.001913/0.001913, allocations: 173 kB / 23.49 MB, free: 1.051 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.9942/0.9942, allocations: 177.1 MB / 203.8 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] 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.002105/0.002105, allocations: 227.9 kB / 260.5 MB, free: 12.86 MB / 250.7 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 0.7837/0.7837, allocations: 138.4 MB / 455.4 MB, free: 1.527 MB / 362.7 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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.5551 GB, free: 0.7969 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.952e-05/3.125e-05, allocations: 5.406 kB / 0.5551 GB, free: 0.793 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001396/0.001427, allocations: 0.6079 MB / 0.5557 GB, free: 188 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.003137, allocations: 1.482 MB / 0.5571 GB, free: 14.68 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.276e-05/0.00317, allocations: 0 / 0.5571 GB, free: 14.68 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.268e-05/0.003193, allocations: 0 / 0.5571 GB, free: 14.68 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.449e-05/0.003227, allocations: 3.938 kB / 0.5571 GB, free: 14.68 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005513/0.003778, allocations: 147.4 kB / 0.5573 GB, free: 14.54 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.759e-05/0.003846, allocations: 31.91 kB / 0.5573 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.199e-05/0.003888, allocations: 0 / 0.5573 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.435e-05/0.003952, allocations: 19.98 kB / 0.5573 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.437e-05/0.004027, allocations: 15.97 kB / 0.5574 GB, free: 14.47 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.004045, allocations: 4 kB / 0.5574 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000298/0.004343, allocations: 255.4 kB / 0.5576 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.356e-05/0.004366, allocations: 3.984 kB / 0.5576 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.774e-05/0.004394, allocations: 19.92 kB / 0.5576 GB, free: 14.19 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002563/0.00465, allocations: 203.4 kB / 0.5578 GB, free: 13.99 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.004654, allocations: 0 / 0.5578 GB, free: 13.99 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.004655, allocations: 0 / 0.5578 GB, free: 13.99 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.004661, allocations: 0 / 0.5578 GB, free: 13.99 MB / 490.7 MB 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.0004299/0.005091, allocations: 396.2 kB / 0.5582 GB, free: 13.57 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.005129, allocations: 8.75 kB / 0.5582 GB, free: 13.56 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002779/0.005407, allocations: 56.88 kB / 0.5583 GB, free: 13.51 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.905e-05/0.005496, allocations: 104.6 kB / 0.5584 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.005513, allocations: 4.375 kB / 0.5584 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.005536, allocations: 384 / 0.5584 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.005714, allocations: 108.5 kB / 0.5585 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.005721, allocations: 4.188 kB / 0.5585 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.005733, allocations: 384 / 0.5585 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.005742, allocations: 3.938 kB / 0.5585 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.137e-05/0.005794, allocations: 15.98 kB / 0.5585 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000146/0.005939, allocations: 120.6 kB / 0.5586 GB, free: 13.08 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/0.006162, allocations: 59.14 kB / 0.5587 GB, free: 13.01 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.789e-05/0.0062, allocations: 15.69 kB / 0.5587 GB, free: 12.99 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001953/0.006395, allocations: 56.03 kB / 0.5587 GB, free: 12.93 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.006419, allocations: 37.33 kB / 0.5588 GB, free: 12.89 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.00642, allocations: 0 / 0.5588 GB, free: 12.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005315/0.006951, allocations: 217.7 kB / 0.559 GB, free: 12.64 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.006987, allocations: 63.34 kB / 0.559 GB, free: 12.56 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.09e-05/0.007068, allocations: 157.9 kB / 0.5592 GB, free: 12.39 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.007084, allocations: 25.7 kB / 0.5592 GB, free: 12.36 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.897e-05/0.007123, allocations: 126.9 kB / 0.5593 GB, free: 12.23 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.007157, allocations: 23.84 kB / 0.5594 GB, free: 12.21 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.741e-05/0.007204, allocations: 35.36 kB / 0.5594 GB, free: 12.16 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.00734, allocations: 496.1 kB / 0.5599 GB, free: 11.67 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.484e-05/0.007375, allocations: 8 kB / 0.5599 GB, free: 11.66 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.938e-05/0.007404, allocations: 15.98 kB / 0.5599 GB, free: 11.64 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.365e-05/0.007468, allocations: 23.69 kB / 0.5599 GB, free: 11.62 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.007469, allocations: 4.125 kB / 0.5599 GB, free: 11.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001101/0.007579, allocations: 69.81 kB / 0.56 GB, free: 11.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.007596, allocations: 8 kB / 0.56 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.007601, allocations: 0 / 0.56 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.007616, allocations: 0 / 0.56 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.53e-05/0.007702, allocations: 19.92 kB / 0.56 GB, free: 11.51 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.007711, allocations: 7.984 kB / 0.56 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.563e-05/0.007747, allocations: 8 kB / 0.56 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.007754, allocations: 4 kB / 0.56 GB, free: 11.49 MB / 490.7 MB 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 0.0003855/0.00814, allocations: 160.6 kB / 0.5602 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/0.008155, allocations: 4.281 kB / 0.5602 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001851/0.00834, allocations: 93.41 kB / 0.5603 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.008342, allocations: 0 / 0.5603 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.008349, allocations: 7.922 kB / 0.5603 GB, free: 11.22 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.008354, allocations: 0 / 0.5603 GB, free: 11.22 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.008457, allocations: 120.6 kB / 0.5604 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.008458, allocations: 0 / 0.5604 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.721e-05/0.008536, allocations: 19.98 kB / 0.5604 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.008538, allocations: 0 / 0.5604 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.00855, allocations: 0 / 0.5604 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.008552, allocations: 0 / 0.5604 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.008553, allocations: 4 kB / 0.5604 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000201/0.008754, allocations: 128.3 kB / 0.5605 GB, free: 10.89 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.071e-05/0.008795, allocations: 3.984 kB / 0.5605 GB, free: 10.89 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.008813, allocations: 4 kB / 0.5605 GB, free: 10.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.099e-05/0.008854, allocations: 7.984 kB / 0.5605 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.064e-05/0.008885, allocations: 4.125 kB / 0.5606 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.008895, allocations: 15.98 kB / 0.5606 GB, free: 10.86 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.276e-05/0.008927, allocations: 123.2 kB / 0.5607 GB, free: 10.74 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008928, allocations: 4.125 kB / 0.5607 GB, free: 10.73 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001731/0.009101, allocations: 27.88 kB / 0.5607 GB, free: 10.71 MB / 490.7 MB 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.0001711/0.009272, allocations: 135 kB / 0.5608 GB, free: 10.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001124/0.009384, allocations: 47.59 kB / 0.5609 GB, free: 10.52 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.009386, allocations: 0 / 0.5609 GB, free: 10.52 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.052e-05/0.009416, allocations: 19.69 kB / 0.5609 GB, free: 10.49 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001222/0.009538, allocations: 11.98 kB / 0.5609 GB, free: 10.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003334/0.009872, allocations: 160.7 kB / 0.5611 GB, free: 10.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.277e-05/0.009905, allocations: 55.36 kB / 0.5611 GB, free: 10.22 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.743e-05/0.009962, allocations: 19.98 kB / 0.5611 GB, free: 10.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.733e-05/0.009999, allocations: 12.5 kB / 0.5612 GB, free: 10.19 MB / 490.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01, allocations: 0 / 0.5612 GB, free: 10.19 MB / 490.7 MB Notification: Performance of Templates: time 0.002931/0.01293, allocations: 1.237 MB / 0.5624 GB, free: 8.969 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6766771900001913]