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.001204/0.001204, allocations: 116.6 kB / 17.1 MB, free: 5.977 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.00107/0.00107, allocations: 193.6 kB / 18.03 MB, free: 5.062 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.329/1.329, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7856/0.7856, allocations: 126.1 MB / 417.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 71.3 kB / 0.5738 GB, free: 27.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1293, allocations: 78.7 MB / 0.6507 GB, free: 4.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001991/0.1314, allocations: 0.5831 MB / 0.6512 GB, free: 3.551 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001838/0.1333, allocations: 1.468 MB / 0.6527 GB, free: 2.066 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.544e-05/0.1333, allocations: 0 / 0.6527 GB, free: 2.066 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.844e-05/0.1334, allocations: 0 / 0.6527 GB, free: 2.066 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.617e-05/0.1334, allocations: 0 / 0.6527 GB, free: 2.066 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005147/0.1339, allocations: 145.2 kB / 0.6528 GB, free: 1.926 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.519e-05/0.134, allocations: 31.91 kB / 0.6528 GB, free: 1.895 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.282e-05/0.134, allocations: 0 / 0.6528 GB, free: 1.895 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.348e-05/0.1341, allocations: 15.98 kB / 0.6528 GB, free: 1.879 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.044e-05/0.1342, allocations: 31.94 kB / 0.6529 GB, free: 1.848 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.1342, allocations: 0 / 0.6529 GB, free: 1.848 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004394/0.1347, allocations: 319.2 kB / 0.6532 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.773e-05/0.1347, allocations: 7.969 kB / 0.6532 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.854e-05/0.1347, allocations: 11.98 kB / 0.6532 GB, free: 1.516 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002929/0.135, allocations: 199.5 kB / 0.6534 GB, free: 1.32 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.135, allocations: 0 / 0.6534 GB, free: 1.32 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.135, allocations: 0 / 0.6534 GB, free: 1.32 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.135, allocations: 0 / 0.6534 GB, free: 1.32 MB / 494.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.000506/0.1356, allocations: 367.1 kB / 0.6537 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.1356, allocations: 8.031 kB / 0.6537 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004562/0.1361, allocations: 64.86 kB / 0.6538 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.1362, allocations: 164.4 kB / 0.654 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.1362, allocations: 4.375 kB / 0.654 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.1362, allocations: 4.375 kB / 0.654 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/0.1365, allocations: 77.95 kB / 0.654 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.1365, allocations: 3.938 kB / 0.654 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.1365, allocations: 3.984 kB / 0.6541 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.1365, allocations: 0 / 0.6541 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002945/0.1368, allocations: 67.88 kB / 0.6541 GB, free: 492 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001649/0.137, allocations: 161.7 kB / 0.6543 GB, free: 280 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005853/0.1376, allocations: 130.5 kB / 0.6544 GB, free: 140 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/0.1378, allocations: 40.92 kB / 0.6544 GB, free: 96 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004603/0.1382, allocations: 153 kB / 0.6546 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.1383, allocations: 38.5 kB / 0.6546 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.1383, allocations: 0 / 0.6546 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001132/0.1394, allocations: 406.1 kB / 0.655 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.1395, allocations: 59.33 kB / 0.6551 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.814e-05/0.1395, allocations: 97.86 kB / 0.6552 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.1395, allocations: 25.7 kB / 0.6552 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.453e-05/0.1396, allocations: 84.27 kB / 0.6553 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/0.1396, allocations: 19.8 kB / 0.6553 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.882e-05/0.1397, allocations: 25.7 kB / 0.6553 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.992e-05/0.1398, allocations: 310.8 kB / 0.6556 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.1399, allocations: 31.97 kB / 0.6556 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.1401, allocations: 43.95 kB / 0.6557 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002986/0.1404, allocations: 76.8 kB / 0.6557 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1404, allocations: 0 / 0.6557 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003554/0.1408, allocations: 117.8 kB / 0.6559 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1408, allocations: 7.938 kB / 0.6559 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1408, allocations: 3.984 kB / 0.6559 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1408, allocations: 0 / 0.6559 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.141, allocations: 23.97 kB / 0.6559 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.141, allocations: 0 / 0.6559 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.938e-05/0.1411, allocations: 15.98 kB / 0.6559 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.1411, allocations: 4 kB / 0.6559 GB, free: 14.45 MB / 0.4981 GB 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.991e-05/0.1412, allocations: 113.8 kB / 0.656 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.049e-05/0.1412, allocations: 15.88 kB / 0.656 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004557/0.1417, allocations: 133.1 kB / 0.6562 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1417, allocations: 0 / 0.6562 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1417, allocations: 7.922 kB / 0.6562 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.035e-05/0.1418, allocations: 85.09 kB / 0.6562 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.1418, allocations: 4 kB / 0.6563 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.1419, allocations: 11.98 kB / 0.6563 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.115e-05/0.142, allocations: 8 kB / 0.6563 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004973/0.1425, allocations: 200.9 kB / 0.6565 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006032/0.1431, allocations: 342.5 kB / 0.6568 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001647/0.1433, allocations: 40.06 kB / 0.6568 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.992e-05/0.1433, allocations: 79.28 kB / 0.6569 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of Backend: time 2.9e-07/0.1433, allocations: 0 / 0.6569 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006231/0.1439, allocations: 174.1 kB / 0.6571 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0003699/0.1443, allocations: 0.561 MB / 0.6576 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of Templates: time 0.004024/0.1484, allocations: 1.703 MB / 0.6593 GB, free: 10.88 MB / 0.4981 GB 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)