Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 106.2 kB / 16.4 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001173, allocations: 195.8 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8502/0.8502, allocations: 115.3 MB / 406.5 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 66.8 kB / 0.5577 GB, free: 32.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1495, allocations: 76.19 MB / 0.6321 GB, free: 4.297 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001631/0.1511, allocations: 0.5948 MB / 0.6327 GB, free: 3.707 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001709/0.1529, allocations: 1.451 MB / 0.6341 GB, free: 2.238 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.264e-05/0.1529, allocations: 0 / 0.6341 GB, free: 2.238 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.428e-05/0.1529, allocations: 0 / 0.6341 GB, free: 2.238 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 2.98e-05/0.153, allocations: 0 / 0.6341 GB, free: 2.238 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000484/0.1534, allocations: 147.4 kB / 0.6343 GB, free: 2.094 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.814e-05/0.1535, allocations: 27.92 kB / 0.6343 GB, free: 2.066 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.136e-05/0.1536, allocations: 3.984 kB / 0.6343 GB, free: 2.062 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.407e-05/0.1536, allocations: 19.92 kB / 0.6343 GB, free: 2.043 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.01e-05/0.1537, allocations: 23.95 kB / 0.6343 GB, free: 2.02 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.1537, allocations: 4 kB / 0.6343 GB, free: 2.016 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004091/0.1541, allocations: 315.4 kB / 0.6346 GB, free: 1.707 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.911e-05/0.1542, allocations: 7.984 kB / 0.6346 GB, free: 1.699 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.913e-05/0.1542, allocations: 11.92 kB / 0.6347 GB, free: 1.688 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002788/0.1545, allocations: 187.6 kB / 0.6348 GB, free: 1.504 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1545, allocations: 4 kB / 0.6348 GB, free: 1.5 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1545, allocations: 0 / 0.6348 GB, free: 1.5 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1545, allocations: 0 / 0.6348 GB, free: 1.5 MB / 478.1 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.0006242/0.1551, allocations: 367.5 kB / 0.6352 GB, free: 1.094 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.1552, allocations: 8.031 kB / 0.6352 GB, free: 1.086 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004717/0.1557, allocations: 76.75 kB / 0.6353 GB, free: 1.012 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.1558, allocations: 160.4 kB / 0.6354 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.697e-05/0.1559, allocations: 384 / 0.6354 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.857e-05/0.1559, allocations: 4.375 kB / 0.6354 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003073/0.1562, allocations: 81.88 kB / 0.6355 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.1562, allocations: 4 kB / 0.6355 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.1563, allocations: 0 / 0.6355 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.1563, allocations: 0 / 0.6355 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003053/0.1566, allocations: 67.88 kB / 0.6356 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002554/0.1568, allocations: 165.7 kB / 0.6357 GB, free: 456 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006476/0.1575, allocations: 122.6 kB / 0.6359 GB, free: 324 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.1577, allocations: 36.92 kB / 0.6359 GB, free: 284 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000482/0.1582, allocations: 160.9 kB / 0.636 GB, free: 104 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.1582, allocations: 50.42 kB / 0.6361 GB, free: 44 kB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.1582, allocations: 0 / 0.6361 GB, free: 44 kB / 478.1 MB Notification: Performance of matching and sorting (n=5): time 0.001292/0.1595, allocations: 402.2 kB / 0.6365 GB, free: 15.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.1596, allocations: 51.41 kB / 0.6365 GB, free: 15.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.782e-05/0.1597, allocations: 93.86 kB / 0.6366 GB, free: 15.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.1597, allocations: 25.7 kB / 0.6366 GB, free: 15.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.1597, allocations: 84.27 kB / 0.6367 GB, free: 15.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.106e-05/0.1598, allocations: 23.73 kB / 0.6367 GB, free: 15.29 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.519e-05/0.1599, allocations: 17.72 kB / 0.6368 GB, free: 15.27 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.16, allocations: 314.8 kB / 0.6371 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.1602, allocations: 40.02 kB / 0.6371 GB, free: 14.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.1603, allocations: 35.97 kB / 0.6371 GB, free: 14.88 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003014/0.1606, allocations: 80.8 kB / 0.6372 GB, free: 14.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1606, allocations: 0 / 0.6372 GB, free: 14.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003561/0.161, allocations: 117.4 kB / 0.6373 GB, free: 14.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.161, allocations: 7.984 kB / 0.6373 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.1611, allocations: 0 / 0.6373 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.1611, allocations: 4 kB / 0.6373 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.1612, allocations: 19.98 kB / 0.6373 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.1612, allocations: 0 / 0.6373 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.1614, allocations: 19.98 kB / 0.6374 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.1614, allocations: 0 / 0.6374 GB, free: 14.62 MB / 494.1 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 9.214e-05/0.1615, allocations: 113.8 kB / 0.6375 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.677e-05/0.1615, allocations: 3.938 kB / 0.6375 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004702/0.162, allocations: 141.1 kB / 0.6376 GB, free: 14.35 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.162, allocations: 0 / 0.6376 GB, free: 14.35 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.162, allocations: 4 kB / 0.6376 GB, free: 14.35 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.162, allocations: 0 / 0.6376 GB, free: 14.35 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.1621, allocations: 165.6 kB / 0.6378 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1622, allocations: 0 / 0.6378 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.1623, allocations: 23.92 kB / 0.6378 GB, free: 14.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1623, allocations: 256 / 0.6378 GB, free: 14.11 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.1623, allocations: 12 kB / 0.6378 GB, free: 14.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1624, allocations: 7.938 kB / 0.6378 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1624, allocations: 3.938 kB / 0.6378 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005486/0.1629, allocations: 185 kB / 0.638 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.698e-05/0.163, allocations: 88.94 kB / 0.6381 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.163, allocations: 4.031 kB / 0.6381 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.1631, allocations: 20.05 kB / 0.6381 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.927e-05/0.1632, allocations: 3.984 kB / 0.6381 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-06/0.1632, allocations: 4 kB / 0.6381 GB, free: 13.75 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.636e-05/0.1632, allocations: 75.28 kB / 0.6382 GB, free: 13.68 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1632, allocations: 0 / 0.6382 GB, free: 13.68 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002325/0.1635, allocations: 36 kB / 0.6382 GB, free: 13.64 MB / 494.1 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.0002263/0.1637, allocations: 135.3 kB / 0.6383 GB, free: 13.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004009/0.1641, allocations: 75.88 kB / 0.6384 GB, free: 13.43 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.1641, allocations: 4 kB / 0.6384 GB, free: 13.42 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.1643, allocations: 43.95 kB / 0.6385 GB, free: 13.38 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/0.1645, allocations: 8 kB / 0.6385 GB, free: 13.37 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006372/0.1651, allocations: 185.4 kB / 0.6387 GB, free: 13.16 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.1654, allocations: 0.6768 MB / 0.6393 GB, free: 12.46 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.743e-05/0.1655, allocations: 20 kB / 0.6393 GB, free: 12.44 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.232e-05/0.1655, allocations: 11.44 kB / 0.6393 GB, free: 12.43 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1655, allocations: 0 / 0.6393 GB, free: 12.43 MB / 494.1 MB Notification: Performance of Templates: time 0.003329/0.1688, allocations: 1.162 MB / 0.6405 GB, free: 11.27 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)