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.0006818/0.0006818, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009458/0.001628, allocations: 435.8 kB / 10.33 MB, free: 368 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.001599/0.001599, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001553/0.003152, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.038/1.038, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08828/1.127, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.001626/0.001626, allocations: 236.8 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004327/0.005953, allocations: 475.2 kB / 244.7 MB, free: 14.17 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.7265/0.7265, allocations: 138.7 MB / 384.1 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07048/0.797, allocations: 42.4 MB / 426.5 MB, free: 5.949 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.482e-06/1.482e-06, allocations: 0 / 427.9 MB, free: 4.559 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.144e-05, allocations: 2.312 kB / 427.9 MB, free: 4.555 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001323/0.001345, allocations: 0.6625 MB / 428.5 MB, free: 3.891 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.002702, allocations: 1.485 MB / 430 MB, free: 2.387 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.791e-05/0.00272, allocations: 0 / 430 MB, free: 2.387 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.599e-06/0.002724, allocations: 0 / 430 MB, free: 2.387 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.786e-06/0.002733, allocations: 4 kB / 430 MB, free: 2.383 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003021/0.003035, allocations: 139.4 kB / 430.1 MB, free: 2.246 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.122e-05/0.003096, allocations: 31.86 kB / 430.2 MB, free: 2.215 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.093e-05/0.003127, allocations: 0 / 430.2 MB, free: 2.215 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.159e-05/0.003189, allocations: 23.97 kB / 430.2 MB, free: 2.191 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.566e-05/0.003255, allocations: 23.95 kB / 430.2 MB, free: 2.168 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.003269, allocations: 0 / 430.2 MB, free: 2.168 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002859/0.003555, allocations: 255.5 kB / 430.5 MB, free: 1.918 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.259e-05/0.003568, allocations: 4 kB / 430.5 MB, free: 1.914 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.632e-05/0.003584, allocations: 11.94 kB / 430.5 MB, free: 1.902 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003425/0.003927, allocations: 159.7 kB / 430.6 MB, free: 1.746 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.489e-05/0.003941, allocations: 0 / 430.6 MB, free: 1.746 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.003942, allocations: 4 kB / 430.6 MB, free: 1.742 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.49e-05/0.003957, allocations: 0 / 430.6 MB, free: 1.742 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.0003832/0.00434, allocations: 280.2 kB / 430.9 MB, free: 1.445 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.923e-05/0.00437, allocations: 15.92 kB / 430.9 MB, free: 1.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002484/0.004618, allocations: 133.9 kB / 431.1 MB, free: 1.281 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.179e-05/0.00469, allocations: 109.8 kB / 431.2 MB, free: 1.148 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.004701, allocations: 4.375 kB / 431.2 MB, free: 1.145 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.004718, allocations: 384 / 431.2 MB, free: 1.145 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.004851, allocations: 96.61 kB / 431.3 MB, free: 1.035 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.004859, allocations: 12.12 kB / 431.3 MB, free: 1.023 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.004868, allocations: 4.375 kB / 431.3 MB, free: 1.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.004874, allocations: 3.938 kB / 431.3 MB, free: 1.016 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.584e-05/0.00491, allocations: 8 kB / 431.3 MB, free: 1.008 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.508e-05/0.005005, allocations: 65.03 kB / 431.4 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.005157, allocations: 42.59 kB / 431.4 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.17e-05/0.005179, allocations: 16.86 kB / 431.4 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001401/0.005319, allocations: 48.03 kB / 431.5 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.005339, allocations: 34.56 kB / 431.5 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.005341, allocations: 0 / 431.5 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003612/0.005702, allocations: 205.5 kB / 431.7 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/0.005726, allocations: 51.41 kB / 431.8 MB, free: 484 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.373e-05/0.00577, allocations: 106.6 kB / 431.9 MB, free: 364 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.005782, allocations: 25.7 kB / 431.9 MB, free: 332 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.935e-05/0.005801, allocations: 80.14 kB / 432 MB, free: 248 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.005827, allocations: 23.8 kB / 432 MB, free: 224 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.00586, allocations: 25.69 kB / 432 MB, free: 192 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.1777/0.1836, allocations: 310.8 kB / 432.3 MB, free: 2.055 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.985e-05/0.1836, allocations: 5.969 kB / 432.3 MB, free: 2.055 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.257e-05/0.1837, allocations: 9.859 kB / 432.3 MB, free: 2.055 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.979e-05/0.1837, allocations: 21.39 kB / 432.4 MB, free: 2.047 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1837, allocations: 1.469 kB / 432.4 MB, free: 2.047 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.734e-05/0.1838, allocations: 49.69 kB / 432.4 MB, free: 2.016 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.1838, allocations: 5.25 kB / 432.4 MB, free: 2.016 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1838, allocations: 1.094 kB / 432.4 MB, free: 2.016 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.1838, allocations: 0.9844 kB / 432.4 MB, free: 2.016 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.184, allocations: 28.88 kB / 432.4 MB, free: 2.016 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.184, allocations: 0 / 432.4 MB, free: 2.016 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.365e-05/0.184, allocations: 12.12 kB / 432.4 MB, free: 2.016 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.184, allocations: 2.812 kB / 432.5 MB, free: 2.016 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.712e-05/0.1841, allocations: 109.7 kB / 432.6 MB, free: 1.902 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.44e-05/0.1841, allocations: 7.656 kB / 432.6 MB, free: 1.902 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/0.1842, allocations: 69.31 kB / 432.6 MB, free: 1.871 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.1842, allocations: 3.281 kB / 432.6 MB, free: 1.871 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.1842, allocations: 0 / 432.6 MB, free: 1.871 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1842, allocations: 3.562 kB / 432.6 MB, free: 1.871 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.603e-05/0.1843, allocations: 74.91 kB / 432.7 MB, free: 1.797 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1843, allocations: 0.6562 kB / 432.7 MB, free: 1.797 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.523e-05/0.1844, allocations: 24.16 kB / 432.7 MB, free: 1.797 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.619e-05/0.1844, allocations: 5.797 kB / 432.7 MB, free: 1.797 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1844, allocations: 2.156 kB / 432.7 MB, free: 1.797 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.1844, allocations: 1.031 kB / 432.7 MB, free: 1.797 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1844, allocations: 1.094 kB / 432.7 MB, free: 1.797 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.1845, allocations: 7.953 kB / 432.8 MB, free: 1.793 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.1846, allocations: 94.84 kB / 432.8 MB, free: 1.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.1846, allocations: 1.438 kB / 432.8 MB, free: 1.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.297e-05/0.1846, allocations: 9.297 kB / 432.9 MB, free: 1.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.754e-05/0.1847, allocations: 5.25 kB / 432.9 MB, free: 1.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.1847, allocations: 4.969 kB / 432.9 MB, free: 1.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.219e-05/0.1847, allocations: 11.89 kB / 432.9 MB, free: 1.719 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1847, allocations: 0 / 432.9 MB, free: 1.719 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001521/0.1848, allocations: 33.12 kB / 432.9 MB, free: 1.719 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.0001843/0.185, allocations: 110.7 kB / 433 MB, free: 1.652 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.266e-05/0.1851, allocations: 34.05 kB / 433.1 MB, free: 1.645 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.463e-06/0.1851, allocations: 1.562 kB / 433.1 MB, free: 1.645 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.427e-05/0.1851, allocations: 24.78 kB / 433.1 MB, free: 1.637 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.306e-05/0.1852, allocations: 10.55 kB / 433.1 MB, free: 1.637 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002701/0.1855, allocations: 140.9 kB / 433.2 MB, free: 1.535 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.8e-05/0.1855, allocations: 59.31 kB / 433.3 MB, free: 1.465 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.664e-05/0.1856, allocations: 20.05 kB / 433.3 MB, free: 1.465 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.614e-05/0.1856, allocations: 56.59 kB / 433.4 MB, free: 1.422 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1856, allocations: 0.625 kB / 433.4 MB, free: 1.422 MB / 410.7 MB Notification: Performance of Templates: time 0.003112/0.1887, allocations: 1.337 MB / 434.7 MB, free: 1.402 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.43722774554044]