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.001013/0.001013, allocations: 77.06 kB / 9.98 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001477/0.00249, allocations: 444 kB / 10.41 MB, free: 276 kB / 10.45 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.001022/0.001022, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001513/0.002535, allocations: 475.6 kB / 11.79 MB, free: 2.371 MB / 13.93 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.9811/0.9811, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08965/1.071, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00167/0.00167, allocations: 229.6 kB / 244.4 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004388/0.006058, allocations: 479.6 kB / 244.8 MB, free: 14.06 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6986/0.6986, allocations: 138.7 MB / 384.3 MB, free: 360 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07279/0.7714, allocations: 42.4 MB / 426.7 MB, free: 5.82 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.222e-06/1.222e-06, allocations: 0 / 428.1 MB, free: 4.41 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.177e-05, allocations: 2.312 kB / 428.1 MB, free: 4.406 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001518/0.00154, allocations: 0.6781 MB / 428.8 MB, free: 3.727 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.003052, allocations: 1.478 MB / 430.3 MB, free: 2.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.659e-05/0.003069, allocations: 0 / 430.3 MB, free: 2.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.128e-06/0.003073, allocations: 7.938 kB / 430.3 MB, free: 2.223 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.909e-06/0.003083, allocations: 3.938 kB / 430.3 MB, free: 2.219 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000319/0.003402, allocations: 131.4 kB / 430.4 MB, free: 2.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.548e-05/0.003467, allocations: 27.92 kB / 430.4 MB, free: 2.062 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.043e-05/0.003498, allocations: 4 kB / 430.4 MB, free: 2.059 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.501e-05/0.003563, allocations: 23.97 kB / 430.5 MB, free: 2.035 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.026e-05/0.003633, allocations: 23.95 kB / 430.5 MB, free: 2.012 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.003647, allocations: 3.938 kB / 430.5 MB, free: 2.008 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003469/0.003994, allocations: 255.5 kB / 430.7 MB, free: 1.758 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.713e-05/0.004012, allocations: 7.938 kB / 430.8 MB, free: 1.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.592e-05/0.004027, allocations: 4 kB / 430.8 MB, free: 1.746 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.004275, allocations: 167.7 kB / 430.9 MB, free: 1.582 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.131e-05/0.004286, allocations: 4 kB / 430.9 MB, free: 1.578 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004287, allocations: 0 / 430.9 MB, free: 1.578 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.004297, allocations: 4 kB / 430.9 MB, free: 1.574 MB / 410.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.0004054/0.004703, allocations: 276.2 kB / 431.2 MB, free: 1.281 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.004735, allocations: 8.031 kB / 431.2 MB, free: 1.273 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002843/0.005019, allocations: 129.9 kB / 431.3 MB, free: 1.129 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.044e-05/0.0051, allocations: 113.7 kB / 431.4 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.005113, allocations: 384 / 431.4 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.005134, allocations: 384 / 431.4 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.005291, allocations: 104.6 kB / 431.5 MB, free: 0.875 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.005298, allocations: 192 / 431.5 MB, free: 0.875 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.005311, allocations: 4.359 kB / 431.6 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.005322, allocations: 3.938 kB / 431.6 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.869e-05/0.00536, allocations: 8 kB / 431.6 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001082/0.005469, allocations: 77.08 kB / 431.6 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.005641, allocations: 50.48 kB / 431.7 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.521e-05/0.005666, allocations: 12.86 kB / 431.7 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001649/0.005831, allocations: 44.05 kB / 431.7 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.005853, allocations: 38.55 kB / 431.8 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.011e-06/0.005854, allocations: 0 / 431.8 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006891/0.006543, allocations: 273.1 kB / 432 MB, free: 312 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.434e-05/0.006567, allocations: 55.39 kB / 432.1 MB, free: 244 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.392e-05/0.006621, allocations: 106.6 kB / 432.2 MB, free: 124 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.006633, allocations: 25.7 kB / 432.2 MB, free: 92 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.196e-05/0.006655, allocations: 80.14 kB / 432.3 MB, free: 8 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.2014/0.208, allocations: 19.25 kB / 432.3 MB, free: 2.223 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.286e-05/0.2081, allocations: 21.3 kB / 432.4 MB, free: 2.207 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.067e-05/0.2081, allocations: 316.8 kB / 432.7 MB, free: 1.895 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.384e-05/0.2081, allocations: 10.38 kB / 432.7 MB, free: 1.895 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.922e-05/0.2082, allocations: 4.672 kB / 432.7 MB, free: 1.895 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.383e-05/0.2082, allocations: 21.36 kB / 432.7 MB, free: 1.887 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2082, allocations: 0 / 432.7 MB, free: 1.887 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.989e-05/0.2083, allocations: 48.75 kB / 432.7 MB, free: 1.855 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.2083, allocations: 5.219 kB / 432.7 MB, free: 1.855 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.2083, allocations: 3.594 kB / 432.8 MB, free: 1.855 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.2083, allocations: 5.906 kB / 432.8 MB, free: 1.855 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.998e-05/0.2084, allocations: 20.36 kB / 432.8 MB, free: 1.855 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.2084, allocations: 0.7188 kB / 432.8 MB, free: 1.855 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.188e-05/0.2085, allocations: 13.05 kB / 432.8 MB, free: 1.855 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.2085, allocations: 1.062 kB / 432.8 MB, free: 1.855 MB / 410.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 4.217e-05/0.2085, allocations: 112.3 kB / 432.9 MB, free: 1.742 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.366e-05/0.2085, allocations: 3.75 kB / 432.9 MB, free: 1.742 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001496/0.2087, allocations: 73.2 kB / 433 MB, free: 1.711 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.2087, allocations: 2.188 kB / 433 MB, free: 1.711 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.2087, allocations: 1.031 kB / 433 MB, free: 1.711 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.2087, allocations: 5.375 kB / 433 MB, free: 1.711 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.081e-05/0.2088, allocations: 74.62 kB / 433.1 MB, free: 1.637 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2088, allocations: 2.531 kB / 433.1 MB, free: 1.637 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.302e-05/0.2088, allocations: 22.17 kB / 433.1 MB, free: 1.637 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.93e-05/0.2089, allocations: 6.422 kB / 433.1 MB, free: 1.637 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2089, allocations: 1.531 kB / 433.1 MB, free: 1.637 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.2089, allocations: 2.969 kB / 433.1 MB, free: 1.637 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.2089, allocations: 3.5 kB / 433.1 MB, free: 1.637 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.2089, allocations: 4.594 kB / 433.1 MB, free: 1.633 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.209, allocations: 95.06 kB / 433.2 MB, free: 1.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.209, allocations: 1.969 kB / 433.2 MB, free: 1.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.345e-05/0.209, allocations: 11.94 kB / 433.2 MB, free: 1.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.567e-05/0.2091, allocations: 4.141 kB / 433.2 MB, free: 1.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.2091, allocations: 1.594 kB / 433.2 MB, free: 1.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.137e-05/0.2091, allocations: 14.86 kB / 433.2 MB, free: 1.559 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2091, allocations: 0 / 433.2 MB, free: 1.559 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001532/0.2092, allocations: 33.75 kB / 433.3 MB, free: 1.559 MB / 410.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.0001295/0.2094, allocations: 111.6 kB / 433.4 MB, free: 1.492 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.126e-05/0.2094, allocations: 37.84 kB / 433.4 MB, free: 1.484 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.2094, allocations: 2 kB / 433.4 MB, free: 1.484 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.076e-05/0.2095, allocations: 24.33 kB / 433.4 MB, free: 1.477 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.314e-05/0.2095, allocations: 10.03 kB / 433.4 MB, free: 1.477 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002571/0.2098, allocations: 141.7 kB / 433.6 MB, free: 1.371 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.874e-05/0.2098, allocations: 58.06 kB / 433.6 MB, free: 1.301 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.697e-05/0.2099, allocations: 17.53 kB / 433.7 MB, free: 1.301 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.157e-05/0.2099, allocations: 59.38 kB / 433.7 MB, free: 1.258 MB / 410.7 MB Notification: Performance of SimCode: time 6.82e-07/0.2099, allocations: 0 / 433.7 MB, free: 1.258 MB / 410.7 MB Notification: Performance of Templates: time 0.003233/0.2132, allocations: 1.41 MB / 435.1 MB, free: 1.23 MB / 410.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.3493658658117056]