Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 115.3 kB / 17.09 MB, free: 5.988 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.001037/0.001037, allocations: 200.2 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.22/1.22, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6711/0.6711, allocations: 115.3 MB / 407.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 67.72 kB / 0.5584 GB, free: 32.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1085, allocations: 76.18 MB / 0.6328 GB, free: 4.324 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001684/0.1102, allocations: 0.769 MB / 0.6335 GB, free: 3.555 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.1118, allocations: 1.478 MB / 0.635 GB, free: 2.059 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.56e-05/0.1118, allocations: 4 kB / 0.635 GB, free: 2.055 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.363e-05/0.1118, allocations: 3.938 kB / 0.635 GB, free: 2.051 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.465e-05/0.1119, allocations: 3.938 kB / 0.635 GB, free: 2.047 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004397/0.1123, allocations: 146.1 kB / 0.6351 GB, free: 1.906 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.1124, allocations: 43.97 kB / 0.6352 GB, free: 1.863 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.389e-05/0.1125, allocations: 11.97 kB / 0.6352 GB, free: 1.852 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.985e-05/0.1126, allocations: 31.91 kB / 0.6352 GB, free: 1.82 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.556e-05/0.1126, allocations: 31.84 kB / 0.6353 GB, free: 1.789 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.1126, allocations: 4 kB / 0.6353 GB, free: 1.785 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000415/0.1131, allocations: 323.3 kB / 0.6356 GB, free: 1.469 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.751e-05/0.1131, allocations: 11.98 kB / 0.6356 GB, free: 1.457 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.058e-05/0.1131, allocations: 27.84 kB / 0.6356 GB, free: 1.43 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002865/0.1134, allocations: 211.5 kB / 0.6358 GB, free: 1.223 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1134, allocations: 8 kB / 0.6358 GB, free: 1.215 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1134, allocations: 0 / 0.6358 GB, free: 1.215 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.1134, allocations: 0 / 0.6358 GB, free: 1.215 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005774/0.114, allocations: 395.4 kB / 0.6362 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.1141, allocations: 12.03 kB / 0.6362 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004453/0.1145, allocations: 72.75 kB / 0.6363 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.213e-05/0.1146, allocations: 160.4 kB / 0.6364 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.1147, allocations: 4.375 kB / 0.6364 GB, free: 0.5 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.1147, allocations: 8.375 kB / 0.6364 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003527/0.115, allocations: 117.8 kB / 0.6366 GB, free: 380 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.1151, allocations: 0 / 0.6366 GB, free: 380 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.1151, allocations: 8 kB / 0.6366 GB, free: 372 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1151, allocations: 0 / 0.6366 GB, free: 372 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000461/0.1156, allocations: 99.89 kB / 0.6367 GB, free: 272 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005146/0.1161, allocations: 348.5 kB / 0.637 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006252/0.1167, allocations: 154.4 kB / 0.6371 GB, free: 15.71 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002383/0.117, allocations: 64.8 kB / 0.6372 GB, free: 15.65 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.117, allocations: 0 / 0.6372 GB, free: 15.65 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.117, allocations: 34.56 kB / 0.6372 GB, free: 15.61 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.117, allocations: 0 / 0.6372 GB, free: 15.61 MB / 494.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.01785/0.1349, allocations: 2.838 MB / 0.64 GB, free: 12.67 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.276e-05/0.1349, allocations: 51.41 kB / 0.64 GB, free: 12.61 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.831e-05/0.135, allocations: 105.8 kB / 0.6401 GB, free: 12.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.905e-05/0.1351, allocations: 29.7 kB / 0.6402 GB, free: 12.46 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.567e-05/0.1351, allocations: 88.05 kB / 0.6403 GB, free: 12.37 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.135e-05/0.1352, allocations: 35.45 kB / 0.6403 GB, free: 12.34 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.1353, allocations: 73.52 kB / 0.6404 GB, free: 12.26 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.414e-05/0.1354, allocations: 318.8 kB / 0.6407 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006445/0.1361, allocations: 191.8 kB / 0.6409 GB, free: 11.75 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000626/0.1367, allocations: 187.8 kB / 0.641 GB, free: 11.57 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/0.138, allocations: 403.7 kB / 0.6414 GB, free: 11.17 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.138, allocations: 0 / 0.6414 GB, free: 11.17 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001468/0.1395, allocations: 477.3 kB / 0.6419 GB, free: 10.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.1395, allocations: 4 kB / 0.6419 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1395, allocations: 0 / 0.6419 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1395, allocations: 0 / 0.6419 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007935/0.1403, allocations: 107.8 kB / 0.642 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.1404, allocations: 8.391 kB / 0.642 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005798/0.1409, allocations: 43.94 kB / 0.642 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.266e-05/0.141, allocations: 23.94 kB / 0.6421 GB, free: 10.52 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 (13): * Single equations (assignments): 13 * 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 0.0001336/0.1412, allocations: 118.5 kB / 0.6422 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.802e-05/0.1412, allocations: 3.906 kB / 0.6422 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.437e-05/0.1413, allocations: 15.91 kB / 0.6422 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1413, allocations: 7.984 kB / 0.6422 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1413, allocations: 0 / 0.6422 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.1414, allocations: 120.9 kB / 0.6423 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.769e-05/0.1415, allocations: 4 kB / 0.6423 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006558/0.1422, allocations: 47.94 kB / 0.6424 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.304e-05/0.1423, allocations: 23.92 kB / 0.6424 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002076/0.1443, allocations: 0.6096 MB / 0.643 GB, free: 9.531 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002202/0.1466, allocations: 0.8651 MB / 0.6438 GB, free: 8.648 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000627/0.1472, allocations: 199.8 kB / 0.644 GB, free: 8.453 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.142e-05/0.1472, allocations: 83.36 kB / 0.6441 GB, free: 8.371 MB / 494.1 MB Notification: Performance of Backend: time 7.12e-07/0.1472, allocations: 3.938 kB / 0.6441 GB, free: 8.367 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001164/0.1484, allocations: 354 kB / 0.6444 GB, free: 8.016 MB / 494.1 MB Notification: Performance of SimCode: time 0.000559/0.149, allocations: 0.6282 MB / 0.645 GB, free: 7.336 MB / 494.1 MB Notification: Performance of Templates: time 0.008625/0.1576, allocations: 6.953 MB / 0.6518 GB, free: 372 kB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)