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.001189/0.001189, allocations: 116.7 kB / 17.09 MB, free: 6.004 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.001151/0.001151, allocations: 185.6 kB / 18.02 MB, free: 5.094 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.205/1.205, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6599/0.6599, allocations: 115.3 MB / 407.2 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 71 kB / 0.5584 GB, free: 31.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1107, allocations: 76.18 MB / 0.6328 GB, free: 4.336 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001516/0.1123, allocations: 0.5805 MB / 0.6334 GB, free: 3.758 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.1138, allocations: 1.451 MB / 0.6348 GB, free: 2.289 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.399e-05/0.1139, allocations: 4 kB / 0.6348 GB, free: 2.285 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.774e-05/0.1139, allocations: 0 / 0.6348 GB, free: 2.285 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 1.924e-05/0.1139, allocations: 7.938 kB / 0.6348 GB, free: 2.277 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004138/0.1144, allocations: 135.4 kB / 0.6349 GB, free: 2.145 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.027e-05/0.1144, allocations: 31.98 kB / 0.6349 GB, free: 2.113 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.475e-05/0.1145, allocations: 3.984 kB / 0.635 GB, free: 2.109 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.548e-05/0.1145, allocations: 23.91 kB / 0.635 GB, free: 2.086 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.207e-05/0.1146, allocations: 19.97 kB / 0.635 GB, free: 2.066 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.1146, allocations: 4 kB / 0.635 GB, free: 2.062 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004078/0.115, allocations: 315.4 kB / 0.6353 GB, free: 1.754 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.353e-05/0.1151, allocations: 3.984 kB / 0.6353 GB, free: 1.75 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.352e-05/0.1151, allocations: 15.92 kB / 0.6353 GB, free: 1.734 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002566/0.1153, allocations: 187.6 kB / 0.6355 GB, free: 1.551 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1154, allocations: 0 / 0.6355 GB, free: 1.551 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1154, allocations: 0 / 0.6355 GB, free: 1.551 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.1154, allocations: 4 kB / 0.6355 GB, free: 1.547 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.0004789/0.1159, allocations: 367.5 kB / 0.6359 GB, free: 1.141 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.1159, allocations: 8.031 kB / 0.6359 GB, free: 1.133 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004396/0.1163, allocations: 68.75 kB / 0.6359 GB, free: 1.066 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.1164, allocations: 168.3 kB / 0.6361 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.1165, allocations: 4.375 kB / 0.6361 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.1165, allocations: 4.375 kB / 0.6361 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.1167, allocations: 77.94 kB / 0.6362 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.1168, allocations: 4 kB / 0.6362 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.1168, allocations: 0 / 0.6362 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.327e-06/0.1168, allocations: 0 / 0.6362 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002894/0.1171, allocations: 59.94 kB / 0.6362 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001613/0.1172, allocations: 165.7 kB / 0.6364 GB, free: 0.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000563/0.1178, allocations: 130.5 kB / 0.6365 GB, free: 372 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.118, allocations: 36.92 kB / 0.6365 GB, free: 332 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004411/0.1184, allocations: 157 kB / 0.6367 GB, free: 156 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.1185, allocations: 42.44 kB / 0.6367 GB, free: 104 kB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.1185, allocations: 0 / 0.6367 GB, free: 104 kB / 478.1 MB Notification: Performance of matching and sorting (n=5): time 0.001106/0.1196, allocations: 410.5 kB / 0.6371 GB, free: 15.65 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/0.1196, allocations: 59.34 kB / 0.6372 GB, free: 15.58 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.912e-05/0.1197, allocations: 93.86 kB / 0.6373 GB, free: 15.48 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.1197, allocations: 25.7 kB / 0.6373 GB, free: 15.45 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.488e-05/0.1197, allocations: 80.14 kB / 0.6374 GB, free: 15.36 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.1198, allocations: 23.73 kB / 0.6374 GB, free: 15.34 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/0.1198, allocations: 21.84 kB / 0.6374 GB, free: 15.31 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.1199, allocations: 318.8 kB / 0.6377 GB, free: 14.99 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.1201, allocations: 31.97 kB / 0.6378 GB, free: 14.96 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.1202, allocations: 35.97 kB / 0.6378 GB, free: 14.93 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/0.1205, allocations: 80.73 kB / 0.6379 GB, free: 14.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1206, allocations: 0 / 0.6379 GB, free: 14.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003588/0.1209, allocations: 117.5 kB / 0.638 GB, free: 14.72 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.1209, allocations: 7.938 kB / 0.638 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.1209, allocations: 0 / 0.638 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.121, allocations: 4 kB / 0.638 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.1211, allocations: 19.98 kB / 0.638 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.1211, allocations: 0 / 0.638 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.1212, allocations: 15.97 kB / 0.638 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.1213, allocations: 8 kB / 0.638 GB, free: 14.67 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.417e-05/0.1213, allocations: 113.8 kB / 0.6381 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.609e-05/0.1214, allocations: 3.938 kB / 0.6381 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000431/0.1218, allocations: 129.2 kB / 0.6383 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1218, allocations: 4 kB / 0.6383 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1218, allocations: 0 / 0.6383 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.795e-05/0.1219, allocations: 89.09 kB / 0.6384 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.1219, allocations: 0 / 0.6384 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.122, allocations: 11.98 kB / 0.6384 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.636e-05/0.1221, allocations: 7.984 kB / 0.6384 GB, free: 14.28 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004879/0.1226, allocations: 213.1 kB / 0.6386 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005881/0.1232, allocations: 338.6 kB / 0.6389 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001597/0.1233, allocations: 39.98 kB / 0.6389 GB, free: 13.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.583e-05/0.1234, allocations: 87.34 kB / 0.639 GB, free: 13.59 MB / 494.1 MB Notification: Performance of Backend: time 2.61e-07/0.1234, allocations: 3.938 kB / 0.639 GB, free: 13.59 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005649/0.124, allocations: 166.3 kB / 0.6392 GB, free: 13.41 MB / 494.1 MB Notification: Performance of SimCode: time 0.0003422/0.1243, allocations: 0.5574 MB / 0.6397 GB, free: 12.81 MB / 494.1 MB Notification: Performance of Templates: time 0.00353/0.1278, allocations: 1.699 MB / 0.6414 GB, free: 11.11 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)