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: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 107 kB / 16.4 MB, free: 6.508 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.001859/0.001859, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7565/0.7565, allocations: 122.9 MB / 414.1 MB, free: 15.74 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 64.91 kB / 0.568 GB, free: 29.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1423, allocations: 77.93 MB / 0.6441 GB, free: 9.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002183/0.1445, allocations: 0.7714 MB / 0.6449 GB, free: 8.707 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001875/0.1464, allocations: 1.475 MB / 0.6463 GB, free: 7.215 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.831e-05/0.1465, allocations: 4 kB / 0.6463 GB, free: 7.211 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.698e-05/0.1466, allocations: 3.938 kB / 0.6463 GB, free: 7.207 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.754e-05/0.1466, allocations: 3.938 kB / 0.6463 GB, free: 7.203 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006296/0.1473, allocations: 143.4 kB / 0.6465 GB, free: 7.062 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.1474, allocations: 47.95 kB / 0.6465 GB, free: 7.016 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.624e-05/0.1474, allocations: 7.938 kB / 0.6465 GB, free: 7.008 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.397e-05/0.1475, allocations: 31.91 kB / 0.6465 GB, free: 6.977 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.299e-05/0.1476, allocations: 31.84 kB / 0.6466 GB, free: 6.945 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.1476, allocations: 4 kB / 0.6466 GB, free: 6.941 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004682/0.1481, allocations: 327.3 kB / 0.6469 GB, free: 6.621 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.613e-05/0.1481, allocations: 15.98 kB / 0.6469 GB, free: 6.605 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.313e-05/0.1482, allocations: 27.84 kB / 0.6469 GB, free: 6.578 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003467/0.1485, allocations: 211.7 kB / 0.6471 GB, free: 6.371 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1485, allocations: 0 / 0.6471 GB, free: 6.371 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1485, allocations: 0 / 0.6471 GB, free: 6.371 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1485, allocations: 0 / 0.6471 GB, free: 6.371 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007118/0.1493, allocations: 402.9 kB / 0.6475 GB, free: 5.93 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.1493, allocations: 8.625 kB / 0.6475 GB, free: 5.922 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.843e-05/0.1494, allocations: 42.73 kB / 0.6476 GB, free: 5.871 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004566/0.1498, allocations: 72.8 kB / 0.6476 GB, free: 5.801 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.15, allocations: 172.3 kB / 0.6478 GB, free: 5.594 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.583e-05/0.15, allocations: 8.375 kB / 0.6478 GB, free: 5.586 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.24e-05/0.1501, allocations: 12.31 kB / 0.6478 GB, free: 5.574 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003862/0.1505, allocations: 112.6 kB / 0.6479 GB, free: 5.461 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.1505, allocations: 0 / 0.6479 GB, free: 5.461 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.1505, allocations: 4 kB / 0.6479 GB, free: 5.457 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.1505, allocations: 3.938 kB / 0.6479 GB, free: 5.453 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005088/0.151, allocations: 103.9 kB / 0.648 GB, free: 5.352 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006093/0.1516, allocations: 344.5 kB / 0.6484 GB, free: 4.965 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006484/0.1523, allocations: 150.5 kB / 0.6485 GB, free: 4.809 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002382/0.1526, allocations: 60.8 kB / 0.6486 GB, free: 4.746 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.1526, allocations: 4 kB / 0.6486 GB, free: 4.742 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.1526, allocations: 30.56 kB / 0.6486 GB, free: 4.703 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.1526, allocations: 0 / 0.6486 GB, free: 4.703 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.01841/0.171, allocations: 2.838 MB / 0.6514 GB, free: 1.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.1711, allocations: 59.28 kB / 0.6514 GB, free: 1.699 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.409e-05/0.1712, allocations: 97.86 kB / 0.6515 GB, free: 1.594 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.043e-05/0.1713, allocations: 33.7 kB / 0.6515 GB, free: 1.555 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.758e-05/0.1713, allocations: 92.05 kB / 0.6516 GB, free: 1.461 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.643e-05/0.1714, allocations: 43.64 kB / 0.6517 GB, free: 1.418 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001679/0.1716, allocations: 65.58 kB / 0.6517 GB, free: 1.348 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.68e-05/0.1717, allocations: 318.9 kB / 0.652 GB, free: 1.027 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006773/0.1724, allocations: 195.7 kB / 0.6522 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006701/0.173, allocations: 191.8 kB / 0.6524 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001365/0.1744, allocations: 388.5 kB / 0.6528 GB, free: 272 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1744, allocations: 4 kB / 0.6528 GB, free: 268 kB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001649/0.1761, allocations: 482.8 kB / 0.6532 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.1761, allocations: 8 kB / 0.6533 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.1761, allocations: 0 / 0.6533 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.1762, allocations: 0 / 0.6533 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008835/0.177, allocations: 115.7 kB / 0.6534 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.1771, allocations: 0 / 0.6534 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006331/0.1777, allocations: 43.94 kB / 0.6534 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.047e-05/0.1778, allocations: 27.92 kB / 0.6534 GB, free: 15.59 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 (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.0001843/0.178, allocations: 117.8 kB / 0.6535 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.048e-05/0.1781, allocations: 0 / 0.6535 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.068e-05/0.1781, allocations: 15.97 kB / 0.6536 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.1781, allocations: 3.938 kB / 0.6536 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.1782, allocations: 0 / 0.6536 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1782, allocations: 0 / 0.6536 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002228/0.1804, allocations: 1.051 MB / 0.6546 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.1804, allocations: 0 / 0.6546 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009484/0.1814, allocations: 111.7 kB / 0.6547 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/0.1814, allocations: 0 / 0.6547 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.272e-05/0.1815, allocations: 23.94 kB / 0.6547 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.1815, allocations: 4 kB / 0.6547 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/0.1815, allocations: 3.984 kB / 0.6547 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002389/0.1839, allocations: 0.7878 MB / 0.6555 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000189/0.1841, allocations: 117 kB / 0.6556 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.359e-05/0.1842, allocations: 4 kB / 0.6556 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006867/0.1848, allocations: 51.98 kB / 0.6557 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.157e-05/0.1849, allocations: 27.92 kB / 0.6557 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.604e-05/0.185, allocations: 23.94 kB / 0.6557 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.714e-05/0.1851, allocations: 79.28 kB / 0.6558 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.543e-06/0.1851, allocations: 0 / 0.6558 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000396/0.1855, allocations: 59.88 kB / 0.6558 GB, free: 12.96 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_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 (11): * Single equations (assignments): 11 * 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.002743/0.1882, allocations: 1.345 MB / 0.6572 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001538/0.1898, allocations: 423.5 kB / 0.6576 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.1898, allocations: 0 / 0.6576 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007295/0.1905, allocations: 223.7 kB / 0.6578 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004177/0.191, allocations: 21.91 kB / 0.6578 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008821/0.1998, allocations: 2.937 MB / 0.6607 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.2001, allocations: 0.6885 MB / 0.6613 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005265/0.2006, allocations: 93.08 kB / 0.6614 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000277/0.2009, allocations: 63.3 kB / 0.6615 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of SimCode: time 5.11e-07/0.2009, allocations: 0 / 0.6615 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02232/0.2233, allocations: 4.592 MB / 0.666 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.853/8.077, allocations: 5.062 kB / 0.666 GB, free: 2.594 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv --start-time -1.5 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0012 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)