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.00111/0.00111, allocations: 119.3 kB / 17.09 MB, free: 6 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.001254/0.001254, allocations: 192.7 kB / 18.02 MB, free: 5.082 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.356/1.356, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7306/0.7306, allocations: 115.3 MB / 407.2 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 69.05 kB / 0.5584 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1379, allocations: 76.19 MB / 0.6328 GB, free: 4.363 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001495/0.1395, allocations: 0.5783 MB / 0.6333 GB, free: 3.789 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001647/0.1411, allocations: 1.458 MB / 0.6348 GB, free: 2.312 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.232e-05/0.1412, allocations: 4 kB / 0.6348 GB, free: 2.309 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.236e-05/0.1412, allocations: 0 / 0.6348 GB, free: 2.309 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 2.137e-05/0.1412, allocations: 0 / 0.6348 GB, free: 2.309 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004501/0.1417, allocations: 139.4 kB / 0.6349 GB, free: 2.172 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.972e-05/0.1418, allocations: 31.97 kB / 0.6349 GB, free: 2.141 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.613e-05/0.1418, allocations: 0 / 0.6349 GB, free: 2.141 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.211e-05/0.1418, allocations: 23.92 kB / 0.635 GB, free: 2.117 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8e-05/0.1419, allocations: 19.95 kB / 0.635 GB, free: 2.098 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.142, allocations: 0 / 0.635 GB, free: 2.098 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004117/0.1424, allocations: 319.4 kB / 0.6353 GB, free: 1.785 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.753e-05/0.1424, allocations: 15.91 kB / 0.6353 GB, free: 1.77 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.394e-05/0.1424, allocations: 11.92 kB / 0.6353 GB, free: 1.758 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002651/0.1427, allocations: 183.7 kB / 0.6355 GB, free: 1.578 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.1427, allocations: 3.984 kB / 0.6355 GB, free: 1.574 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1427, allocations: 0 / 0.6355 GB, free: 1.574 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1427, allocations: 4 kB / 0.6355 GB, free: 1.57 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.0005023/0.1432, allocations: 363.5 kB / 0.6358 GB, free: 1.168 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.1433, allocations: 12.03 kB / 0.6359 GB, free: 1.156 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004596/0.1437, allocations: 68.75 kB / 0.6359 GB, free: 1.09 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.1439, allocations: 164.4 kB / 0.6361 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.1439, allocations: 384 / 0.6361 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.1439, allocations: 384 / 0.6361 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.1442, allocations: 85.92 kB / 0.6362 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.1442, allocations: 0 / 0.6362 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.1442, allocations: 0 / 0.6362 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1442, allocations: 4 kB / 0.6362 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002931/0.1445, allocations: 67.86 kB / 0.6362 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001591/0.1447, allocations: 161.7 kB / 0.6364 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005746/0.1452, allocations: 118.5 kB / 0.6365 GB, free: 408 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.1454, allocations: 44.98 kB / 0.6365 GB, free: 360 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000453/0.1459, allocations: 164.9 kB / 0.6367 GB, free: 176 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.1459, allocations: 34.5 kB / 0.6367 GB, free: 132 kB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1459, allocations: 4 kB / 0.6367 GB, free: 128 kB / 478.1 MB Notification: Performance of matching and sorting (n=5): time 0.001157/0.1471, allocations: 406.2 kB / 0.6371 GB, free: 15.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.1471, allocations: 55.34 kB / 0.6372 GB, free: 15.61 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.378e-05/0.1472, allocations: 93.86 kB / 0.6373 GB, free: 15.51 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.1472, allocations: 33.64 kB / 0.6373 GB, free: 15.47 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.748e-05/0.1473, allocations: 84.12 kB / 0.6374 GB, free: 15.38 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.475e-05/0.1473, allocations: 15.75 kB / 0.6374 GB, free: 15.37 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/0.1473, allocations: 21.84 kB / 0.6374 GB, free: 15.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.364e-05/0.1474, allocations: 318.8 kB / 0.6377 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.1476, allocations: 31.97 kB / 0.6377 GB, free: 14.99 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.1478, allocations: 35.97 kB / 0.6378 GB, free: 14.95 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/0.1481, allocations: 80.8 kB / 0.6379 GB, free: 14.87 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1481, allocations: 0 / 0.6379 GB, free: 14.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003553/0.1485, allocations: 117.5 kB / 0.638 GB, free: 14.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.1485, allocations: 4 kB / 0.638 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1485, allocations: 3.938 kB / 0.638 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.1485, allocations: 0 / 0.638 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.1487, allocations: 27.97 kB / 0.638 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1487, allocations: 4 kB / 0.638 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.1488, allocations: 7.984 kB / 0.638 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.1488, allocations: 8 kB / 0.638 GB, free: 14.7 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 8.26e-05/0.1489, allocations: 105.8 kB / 0.6381 GB, free: 14.58 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.635e-05/0.1489, allocations: 7.938 kB / 0.6381 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004553/0.1494, allocations: 137.1 kB / 0.6383 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1494, allocations: 4 kB / 0.6383 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1494, allocations: 0 / 0.6383 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1494, allocations: 0 / 0.6383 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.1495, allocations: 169.6 kB / 0.6384 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1495, allocations: 0 / 0.6384 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.1497, allocations: 28.22 kB / 0.6385 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1497, allocations: 0 / 0.6385 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.1497, allocations: 12 kB / 0.6385 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.1497, allocations: 3.938 kB / 0.6385 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1498, allocations: 4 kB / 0.6385 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000567/0.1503, allocations: 173 kB / 0.6386 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.217e-05/0.1504, allocations: 92.97 kB / 0.6387 GB, free: 13.87 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.1504, allocations: 4.328 kB / 0.6387 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.1506, allocations: 20.03 kB / 0.6387 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.449e-05/0.1506, allocations: 7.938 kB / 0.6388 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.1506, allocations: 4 kB / 0.6388 GB, free: 13.83 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.937e-05/0.1506, allocations: 75.28 kB / 0.6388 GB, free: 13.76 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1507, allocations: 0 / 0.6388 GB, free: 13.76 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000229/0.1509, allocations: 39.92 kB / 0.6389 GB, free: 13.72 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.0002001/0.1511, allocations: 127.2 kB / 0.639 GB, free: 13.58 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003754/0.1515, allocations: 84.02 kB / 0.6391 GB, free: 13.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1515, allocations: 0 / 0.6391 GB, free: 13.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.1517, allocations: 51.91 kB / 0.6391 GB, free: 13.45 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.1518, allocations: 4 kB / 0.6391 GB, free: 13.45 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006238/0.1524, allocations: 203.1 kB / 0.6393 GB, free: 13.21 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002096/0.1527, allocations: 0.6807 MB / 0.64 GB, free: 12.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.232e-05/0.1527, allocations: 11.44 kB / 0.64 GB, free: 12.5 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1527, allocations: 0 / 0.64 GB, free: 12.5 MB / 494.1 MB Notification: Performance of Templates: time 0.002446/0.1552, allocations: 1.139 MB / 0.6411 GB, free: 11.36 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)