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.001094/0.001094, allocations: 119.2 kB / 17.09 MB, free: 5.953 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.001248/0.001248, allocations: 192.7 kB / 18.02 MB, free: 5.039 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.374/1.374, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7021/0.7021, allocations: 115.3 MB / 407.2 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 70.5 kB / 0.5584 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1262, allocations: 76.18 MB / 0.6328 GB, free: 4.352 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001709/0.1279, allocations: 0.5883 MB / 0.6334 GB, free: 3.766 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.1298, allocations: 1.455 MB / 0.6348 GB, free: 2.293 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.223e-05/0.1298, allocations: 0 / 0.6348 GB, free: 2.293 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.176e-05/0.1298, allocations: 0 / 0.6348 GB, free: 2.293 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 2.919e-05/0.1299, allocations: 0 / 0.6348 GB, free: 2.293 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005119/0.1304, allocations: 139.4 kB / 0.6349 GB, free: 2.156 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.083e-05/0.1305, allocations: 27.97 kB / 0.6349 GB, free: 2.129 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.32e-05/0.1305, allocations: 4 kB / 0.6349 GB, free: 2.125 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.512e-05/0.1306, allocations: 23.86 kB / 0.635 GB, free: 2.102 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.718e-05/0.1307, allocations: 27.95 kB / 0.635 GB, free: 2.074 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.1307, allocations: 0 / 0.635 GB, free: 2.074 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004499/0.1311, allocations: 311.4 kB / 0.6353 GB, free: 1.77 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.863e-05/0.1312, allocations: 11.98 kB / 0.6353 GB, free: 1.758 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.625e-05/0.1312, allocations: 11.92 kB / 0.6353 GB, free: 1.746 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002975/0.1315, allocations: 187.6 kB / 0.6355 GB, free: 1.562 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.1315, allocations: 8 kB / 0.6355 GB, free: 1.555 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1315, allocations: 0 / 0.6355 GB, free: 1.555 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5e-06/0.1315, allocations: 0 / 0.6355 GB, free: 1.555 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.0005227/0.1321, allocations: 363.5 kB / 0.6358 GB, free: 1.152 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.1321, allocations: 8.031 kB / 0.6358 GB, free: 1.145 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004741/0.1326, allocations: 72.75 kB / 0.6359 GB, free: 1.074 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.1327, allocations: 160.4 kB / 0.6361 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.1327, allocations: 4.375 kB / 0.6361 GB, free: 0.875 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.1328, allocations: 8.312 kB / 0.6361 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/0.133, allocations: 77.94 kB / 0.6362 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.1331, allocations: 3.938 kB / 0.6362 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.1331, allocations: 4 kB / 0.6362 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1331, allocations: 0 / 0.6362 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002989/0.1334, allocations: 63.94 kB / 0.6362 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001737/0.1336, allocations: 161.7 kB / 0.6364 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005666/0.1342, allocations: 122.6 kB / 0.6365 GB, free: 388 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.1343, allocations: 40.92 kB / 0.6365 GB, free: 344 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004545/0.1348, allocations: 157 kB / 0.6367 GB, free: 168 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.1348, allocations: 46.38 kB / 0.6367 GB, free: 112 kB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.1348, allocations: 0 / 0.6367 GB, free: 112 kB / 478.1 MB Notification: Performance of matching and sorting (n=5): time 0.001129/0.136, allocations: 410.1 kB / 0.6371 GB, free: 15.66 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.136, allocations: 51.41 kB / 0.6372 GB, free: 15.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.195e-05/0.1361, allocations: 93.86 kB / 0.6373 GB, free: 15.49 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.1361, allocations: 29.83 kB / 0.6373 GB, free: 15.46 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.525e-05/0.1361, allocations: 84.14 kB / 0.6374 GB, free: 15.37 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.1361, allocations: 11.75 kB / 0.6374 GB, free: 15.36 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.541e-05/0.1362, allocations: 25.7 kB / 0.6374 GB, free: 15.33 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.1363, allocations: 314.8 kB / 0.6377 GB, free: 15.01 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.1365, allocations: 40.02 kB / 0.6377 GB, free: 14.97 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.1366, allocations: 35.97 kB / 0.6378 GB, free: 14.94 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002829/0.1369, allocations: 80.8 kB / 0.6379 GB, free: 14.86 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1369, allocations: 0 / 0.6379 GB, free: 14.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003551/0.1373, allocations: 117.4 kB / 0.638 GB, free: 14.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1373, allocations: 11.98 kB / 0.638 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1373, allocations: 0 / 0.638 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.1373, allocations: 0 / 0.638 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.1375, allocations: 19.98 kB / 0.638 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.1375, allocations: 0 / 0.638 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.392e-05/0.1376, allocations: 15.98 kB / 0.638 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.1376, allocations: 4 kB / 0.638 GB, free: 14.68 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 7.967e-05/0.1377, allocations: 109.8 kB / 0.6381 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.1377, allocations: 11.94 kB / 0.6381 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004244/0.1382, allocations: 133.1 kB / 0.6383 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.1382, allocations: 4.312 kB / 0.6383 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1382, allocations: 0 / 0.6383 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1382, allocations: 0 / 0.6383 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.1383, allocations: 173.6 kB / 0.6384 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1383, allocations: 0 / 0.6384 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.1385, allocations: 27.92 kB / 0.6385 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1385, allocations: 4.25 kB / 0.6385 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.1385, allocations: 0 / 0.6385 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.1385, allocations: 4 kB / 0.6385 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1385, allocations: 3.938 kB / 0.6385 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005415/0.1391, allocations: 185 kB / 0.6386 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.185e-05/0.1392, allocations: 92.97 kB / 0.6387 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.1392, allocations: 4.062 kB / 0.6387 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.1393, allocations: 15.98 kB / 0.6388 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.686e-05/0.1393, allocations: 7.984 kB / 0.6388 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.1394, allocations: 0 / 0.6388 GB, free: 13.82 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.028e-05/0.1394, allocations: 79.28 kB / 0.6388 GB, free: 13.74 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1394, allocations: 0 / 0.6388 GB, free: 13.74 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002232/0.1396, allocations: 32 kB / 0.6389 GB, free: 13.71 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.0001938/0.1398, allocations: 135.3 kB / 0.639 GB, free: 13.56 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003554/0.1402, allocations: 83.88 kB / 0.6391 GB, free: 13.48 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1402, allocations: 0 / 0.6391 GB, free: 13.48 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.1404, allocations: 47.95 kB / 0.6391 GB, free: 13.43 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.1405, allocations: 0 / 0.6391 GB, free: 13.43 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006249/0.1412, allocations: 213.9 kB / 0.6393 GB, free: 13.19 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.1414, allocations: 0.6807 MB / 0.64 GB, free: 12.48 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.061e-05/0.1415, allocations: 11.44 kB / 0.64 GB, free: 12.48 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1415, allocations: 4 kB / 0.64 GB, free: 12.47 MB / 494.1 MB Notification: Performance of Templates: time 0.002518/0.144, allocations: 1.14 MB / 0.6411 GB, free: 11.33 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)