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.001581/0.001587, allocations: 104.1 kB / 16.41 MB, free: 6.5 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.001736/0.001737, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.466/1.466, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8342/0.8342, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 70.62 kB / 0.5736 GB, free: 27.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1754, allocations: 78.87 MB / 0.6506 GB, free: 3.512 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002398/0.1779, allocations: 0.7652 MB / 0.6514 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002148/0.1801, allocations: 1.491 MB / 0.6528 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.645e-05/0.1801, allocations: 0 / 0.6528 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.052e-05/0.1802, allocations: 3.938 kB / 0.6528 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.621e-05/0.1803, allocations: 7.938 kB / 0.6528 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005709/0.1808, allocations: 135.5 kB / 0.653 GB, free: 1.094 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.181, allocations: 47.95 kB / 0.653 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.949e-05/0.181, allocations: 8 kB / 0.653 GB, free: 1.039 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.786e-05/0.1811, allocations: 27.91 kB / 0.653 GB, free: 1.012 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.488e-05/0.1812, allocations: 31.84 kB / 0.6531 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.205e-05/0.1812, allocations: 11.98 kB / 0.6531 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005186/0.1818, allocations: 319.3 kB / 0.6534 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.871e-05/0.1818, allocations: 15.97 kB / 0.6534 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.149e-05/0.1818, allocations: 27.86 kB / 0.6534 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003583/0.1822, allocations: 207.7 kB / 0.6536 GB, free: 420 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1822, allocations: 0 / 0.6536 GB, free: 420 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1822, allocations: 0 / 0.6536 GB, free: 420 kB / 494.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1822, allocations: 0 / 0.6536 GB, free: 420 kB / 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.0007044/0.1829, allocations: 406.9 kB / 0.654 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.183, allocations: 8.031 kB / 0.654 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.669e-05/0.183, allocations: 42.73 kB / 0.6541 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004311/0.1835, allocations: 68.81 kB / 0.6541 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.1836, allocations: 172.2 kB / 0.6543 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.1837, allocations: 8.375 kB / 0.6543 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.1837, allocations: 12.27 kB / 0.6543 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003842/0.1841, allocations: 109.7 kB / 0.6544 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.1841, allocations: 0 / 0.6544 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.1841, allocations: 8 kB / 0.6544 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1841, allocations: 0 / 0.6544 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004965/0.1846, allocations: 103.9 kB / 0.6545 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005918/0.1852, allocations: 336.7 kB / 0.6548 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000656/0.1859, allocations: 150.4 kB / 0.655 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002443/0.1861, allocations: 60.81 kB / 0.655 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.1862, allocations: 0 / 0.655 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.1862, allocations: 30.56 kB / 0.6551 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.1862, allocations: 0 / 0.6551 GB, free: 14.75 MB / 0.4981 GB 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.01856/0.2048, allocations: 2.845 MB / 0.6578 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/0.2049, allocations: 63.33 kB / 0.6579 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.34e-05/0.205, allocations: 101.8 kB / 0.658 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.454e-05/0.205, allocations: 29.7 kB / 0.658 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.346e-05/0.2051, allocations: 100 kB / 0.6581 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.795e-05/0.2052, allocations: 39.64 kB / 0.6582 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001786/0.2053, allocations: 69.58 kB / 0.6582 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.2055, allocations: 322.8 kB / 0.6585 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006988/0.2062, allocations: 191.8 kB / 0.6587 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006918/0.2069, allocations: 191.8 kB / 0.6589 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/0.2084, allocations: 392.5 kB / 0.6593 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2084, allocations: 0 / 0.6593 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001639/0.21, allocations: 481.2 kB / 0.6597 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.2101, allocations: 11.98 kB / 0.6598 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.2101, allocations: 0 / 0.6598 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.2101, allocations: 0 / 0.6598 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000823/0.2109, allocations: 111.7 kB / 0.6599 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.2109, allocations: 0 / 0.6599 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006025/0.2115, allocations: 43.94 kB / 0.6599 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.506e-05/0.2116, allocations: 27.94 kB / 0.6599 GB, free: 9.629 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.0001953/0.2118, allocations: 117.8 kB / 0.66 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.892e-05/0.2119, allocations: 3.984 kB / 0.66 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.811e-05/0.212, allocations: 11.97 kB / 0.6601 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.212, allocations: 3.938 kB / 0.6601 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.212, allocations: 0 / 0.6601 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.212, allocations: 4 kB / 0.6601 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002432/0.2144, allocations: 1.047 MB / 0.6611 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2145, allocations: 0 / 0.6611 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008289/0.2153, allocations: 115.7 kB / 0.6612 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.2153, allocations: 0 / 0.6612 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.984e-05/0.2154, allocations: 19.94 kB / 0.6612 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.2154, allocations: 4 kB / 0.6612 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.2154, allocations: 0 / 0.6612 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002553/0.2179, allocations: 0.7879 MB / 0.662 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001827/0.2181, allocations: 120.9 kB / 0.6621 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.34e-05/0.2182, allocations: 0 / 0.6621 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006693/0.2189, allocations: 52 kB / 0.6621 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.219, allocations: 27.92 kB / 0.6622 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.86e-05/0.2191, allocations: 23.92 kB / 0.6622 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.066e-05/0.2192, allocations: 83.22 kB / 0.6623 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.41e-07/0.2192, allocations: 96 / 0.6623 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004209/0.2196, allocations: 63.88 kB / 0.6623 GB, free: 7 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.00309/0.2227, allocations: 1.348 MB / 0.6637 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001619/0.2243, allocations: 419.5 kB / 0.6641 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.2244, allocations: 0 / 0.6641 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000795/0.2252, allocations: 227.7 kB / 0.6643 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004426/0.2256, allocations: 13.81 kB / 0.6643 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009421/0.235, allocations: 2.94 MB / 0.6672 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.2355, allocations: 0.6885 MB / 0.6678 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005938/0.2361, allocations: 89.69 kB / 0.6679 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002906/0.2364, allocations: 63.3 kB / 0.668 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of SimCode: time 1.152e-06/0.2364, allocations: 4 kB / 0.668 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03022/0.2666, allocations: 4.584 MB / 0.6725 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.071/8.338, allocations: 4.734 kB / 0.6725 GB, free: 12.63 MB / 0.5137 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)