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.001282/0.001282, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001423/0.001423, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9449/0.9449, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.001686/0.001686, allocations: 249.5 kB / 261.3 MB, free: 12.66 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.7479/0.7479, allocations: 138.4 MB / 456.3 MB, free: 1.398 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 8.61e-07/8.61e-07, allocations: 0 / 0.5564 GB, free: 172 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.889e-06/1.075e-05, allocations: 6.25 kB / 0.5564 GB, free: 164 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001031/0.001042, allocations: 0.6079 MB / 0.557 GB, free: 15.55 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.002364, allocations: 1.466 MB / 0.5585 GB, free: 14.07 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.779e-05/0.002382, allocations: 0 / 0.5585 GB, free: 14.07 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.059e-05/0.002393, allocations: 0 / 0.5585 GB, free: 14.07 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.231e-05/0.002415, allocations: 3.938 kB / 0.5585 GB, free: 14.06 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003182/0.002733, allocations: 147.4 kB / 0.5586 GB, free: 13.92 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.645e-05/0.00278, allocations: 23.98 kB / 0.5586 GB, free: 13.89 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.43e-05/0.002804, allocations: 3.984 kB / 0.5586 GB, free: 13.89 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.4e-05/0.002848, allocations: 23.92 kB / 0.5587 GB, free: 13.87 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.138e-05/0.002899, allocations: 19.97 kB / 0.5587 GB, free: 13.85 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.002909, allocations: 4 kB / 0.5587 GB, free: 13.84 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002439/0.003153, allocations: 251.4 kB / 0.5589 GB, free: 13.6 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.003169, allocations: 11.98 kB / 0.5589 GB, free: 13.59 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.449e-05/0.003184, allocations: 7.984 kB / 0.5589 GB, free: 13.58 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.003398, allocations: 203.5 kB / 0.5591 GB, free: 13.38 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.0034, allocations: 0 / 0.5591 GB, free: 13.38 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.003401, allocations: 4 kB / 0.5591 GB, free: 13.38 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.003405, allocations: 0 / 0.5591 GB, free: 13.38 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.0003521/0.003757, allocations: 392.2 kB / 0.5595 GB, free: 12.96 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.789e-05/0.003785, allocations: 12.69 kB / 0.5595 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002135/0.003998, allocations: 60.81 kB / 0.5596 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.025e-05/0.004078, allocations: 104.6 kB / 0.5597 GB, free: 12.76 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.00409, allocations: 4.375 kB / 0.5597 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.004106, allocations: 4.359 kB / 0.5597 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.004239, allocations: 104.6 kB / 0.5598 GB, free: 12.63 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.004246, allocations: 4.188 kB / 0.5598 GB, free: 12.63 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.004253, allocations: 384 / 0.5598 GB, free: 12.63 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.00426, allocations: 3.938 kB / 0.5598 GB, free: 12.62 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.478e-05/0.004295, allocations: 15.98 kB / 0.5598 GB, free: 12.61 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.94e-05/0.004394, allocations: 97.27 kB / 0.5599 GB, free: 12.49 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.004542, allocations: 59.08 kB / 0.56 GB, free: 12.42 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.145e-05/0.004574, allocations: 19.69 kB / 0.56 GB, free: 12.39 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001479/0.004721, allocations: 52.03 kB / 0.56 GB, free: 12.34 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.004741, allocations: 33.39 kB / 0.5601 GB, free: 12.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.004742, allocations: 0 / 0.5601 GB, free: 12.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005019/0.005244, allocations: 209.7 kB / 0.5603 GB, free: 12.06 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.372e-05/0.005268, allocations: 55.41 kB / 0.5603 GB, free: 11.99 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.676e-05/0.005324, allocations: 157.9 kB / 0.5605 GB, free: 11.82 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.005338, allocations: 29.7 kB / 0.5605 GB, free: 11.79 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.872e-05/0.005366, allocations: 126.9 kB / 0.5606 GB, free: 11.66 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.00539, allocations: 27.77 kB / 0.5606 GB, free: 11.63 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.005424, allocations: 27.38 kB / 0.5607 GB, free: 11.59 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.005567, allocations: 0.4884 MB / 0.5611 GB, free: 11.09 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.153e-05/0.005588, allocations: 7.938 kB / 0.5611 GB, free: 11.09 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.034e-05/0.005609, allocations: 8 kB / 0.5612 GB, free: 11.08 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.725e-05/0.005656, allocations: 35.78 kB / 0.5612 GB, free: 11.04 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.005657, allocations: 192 / 0.5612 GB, free: 11.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.44e-05/0.005752, allocations: 61.69 kB / 0.5612 GB, free: 10.97 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.005762, allocations: 4 kB / 0.5613 GB, free: 10.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.005765, allocations: 0 / 0.5613 GB, free: 10.97 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.005776, allocations: 0 / 0.5613 GB, free: 10.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.272e-05/0.005849, allocations: 23.92 kB / 0.5613 GB, free: 10.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.005854, allocations: 7.922 kB / 0.5613 GB, free: 10.94 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.407e-05/0.005888, allocations: 15.92 kB / 0.5613 GB, free: 10.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.005895, allocations: 8 kB / 0.5613 GB, free: 10.91 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 6.253e-05/0.005958, allocations: 152.6 kB / 0.5614 GB, free: 10.75 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.256e-05/0.00597, allocations: 4 kB / 0.5615 GB, free: 10.75 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.006094, allocations: 77.47 kB / 0.5615 GB, free: 10.67 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.006095, allocations: 4 kB / 0.5615 GB, free: 10.67 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.006097, allocations: 0 / 0.5615 GB, free: 10.67 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.006102, allocations: 7.922 kB / 0.5615 GB, free: 10.66 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.904e-05/0.006181, allocations: 101.3 kB / 0.5616 GB, free: 10.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.006182, allocations: 0 / 0.5616 GB, free: 10.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.59e-05/0.006248, allocations: 20.25 kB / 0.5617 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.00625, allocations: 0 / 0.5617 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-06/0.006258, allocations: 8 kB / 0.5617 GB, free: 10.51 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.006259, allocations: 4 kB / 0.5617 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.00626, allocations: 0 / 0.5617 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.006402, allocations: 120.3 kB / 0.5618 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.965e-05/0.006432, allocations: 7.984 kB / 0.5618 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.006443, allocations: 3.984 kB / 0.5618 GB, free: 10.35 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.352e-05/0.006487, allocations: 8.188 kB / 0.5618 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.819e-05/0.006505, allocations: 7.984 kB / 0.5618 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.006513, allocations: 8 kB / 0.5618 GB, free: 10.33 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.171e-05/0.006545, allocations: 123.2 kB / 0.5619 GB, free: 10.21 MB / 490.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006545, allocations: 0 / 0.5619 GB, free: 10.21 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001604/0.006705, allocations: 35.86 kB / 0.562 GB, free: 10.17 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.0001348/0.00684, allocations: 139 kB / 0.5621 GB, free: 10.03 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.102e-05/0.006931, allocations: 31.67 kB / 0.5621 GB, free: 9.992 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-06/0.006932, allocations: 0 / 0.5621 GB, free: 9.992 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.982e-05/0.006962, allocations: 27.61 kB / 0.5622 GB, free: 9.961 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001034/0.007065, allocations: 10.58 kB / 0.5622 GB, free: 9.953 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002574/0.007323, allocations: 152.9 kB / 0.5623 GB, free: 9.777 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.769e-05/0.00735, allocations: 63.09 kB / 0.5624 GB, free: 9.699 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.345e-05/0.007404, allocations: 15.94 kB / 0.5624 GB, free: 9.684 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.847e-05/0.007472, allocations: 74.2 kB / 0.5625 GB, free: 9.609 MB / 490.7 MB Notification: Performance of SimCode: time 5.61e-07/0.007473, allocations: 0 / 0.5625 GB, free: 9.609 MB / 490.7 MB Notification: Performance of Templates: time 0.002713/0.01019, allocations: 1.345 MB / 0.5638 GB, free: 8.277 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.572794670704752]