Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="BuildSysPro_BuildSysPro_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.001569/0.001569, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 197.2 kB / 16.53 MB, free: 6.664 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.396/1.396, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.004/1.004, allocations: 143 MB / 433.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 63.91 kB / 0.5143 GB, free: 11.56 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1724, allocations: 82.04 MB / 0.5944 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002339/0.1748, allocations: 0.7856 MB / 0.5952 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002012/0.1768, allocations: 1.474 MB / 0.5966 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.665e-05/0.1769, allocations: 0 / 0.5966 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.204e-05/0.1769, allocations: 7.922 kB / 0.5966 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.385e-05/0.177, allocations: 0 / 0.5966 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005239/0.1775, allocations: 139.5 kB / 0.5967 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.164e-05/0.1776, allocations: 51.89 kB / 0.5968 GB, free: 7 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.91e-05/0.1777, allocations: 4 kB / 0.5968 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.35e-05/0.1778, allocations: 31.91 kB / 0.5968 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.708e-05/0.1778, allocations: 31.84 kB / 0.5969 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.1779, allocations: 12 kB / 0.5969 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004378/0.1783, allocations: 311.3 kB / 0.5972 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.504e-05/0.1783, allocations: 15.98 kB / 0.5972 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.984e-05/0.1784, allocations: 27.84 kB / 0.5972 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003351/0.1787, allocations: 211.8 kB / 0.5974 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1787, allocations: 0 / 0.5974 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.834e-06/0.1787, allocations: 0 / 0.5974 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.1788, allocations: 0 / 0.5974 GB, free: 6.367 MB / 0.4981 GB 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.0007582/0.1795, allocations: 403.4 kB / 0.5978 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.1796, allocations: 8.031 kB / 0.5978 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.702e-05/0.1796, allocations: 38.69 kB / 0.5978 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004844/0.1801, allocations: 76.75 kB / 0.5979 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.1803, allocations: 168.3 kB / 0.5981 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.755e-05/0.1803, allocations: 8.375 kB / 0.5981 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.1803, allocations: 8.375 kB / 0.5981 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004105/0.1808, allocations: 116.6 kB / 0.5982 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.1808, allocations: 3.906 kB / 0.5982 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.1808, allocations: 4 kB / 0.5982 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.1808, allocations: 0 / 0.5982 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004847/0.1813, allocations: 103.9 kB / 0.5983 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005968/0.1819, allocations: 344.5 kB / 0.5986 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000643/0.1826, allocations: 154.4 kB / 0.5988 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002376/0.1828, allocations: 64.75 kB / 0.5989 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.1828, allocations: 0 / 0.5989 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.1829, allocations: 30.56 kB / 0.5989 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.1829, allocations: 0 / 0.5989 GB, free: 4.699 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.01978/0.2027, allocations: 2.826 MB / 0.6016 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.2027, allocations: 55.34 kB / 0.6017 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.9e-05/0.2028, allocations: 105.8 kB / 0.6018 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.141e-05/0.2029, allocations: 33.7 kB / 0.6018 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.344e-05/0.2029, allocations: 87.98 kB / 0.6019 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.809e-05/0.203, allocations: 43.39 kB / 0.602 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/0.2032, allocations: 65.58 kB / 0.602 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.2033, allocations: 322.8 kB / 0.6023 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006708/0.204, allocations: 191.8 kB / 0.6025 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006831/0.2047, allocations: 187.8 kB / 0.6027 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/0.206, allocations: 392.5 kB / 0.6031 GB, free: 280 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.206, allocations: 4 kB / 0.6031 GB, free: 276 kB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.289/0.495, allocations: 474.7 kB / 0.6035 GB, free: 45.03 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.4951, allocations: 5.094 kB / 0.6035 GB, free: 45.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.4951, allocations: 0 / 0.6035 GB, free: 45.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.4951, allocations: 2.312 kB / 0.6035 GB, free: 45.03 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008586/0.496, allocations: 112.3 kB / 0.6036 GB, free: 45.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.496, allocations: 2.938 kB / 0.6036 GB, free: 45.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000651/0.4967, allocations: 42 kB / 0.6037 GB, free: 45.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.353e-05/0.4967, allocations: 29.62 kB / 0.6037 GB, free: 45.03 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.0001618/0.4969, allocations: 117.4 kB / 0.6038 GB, free: 44.92 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.663e-05/0.497, allocations: 4.312 kB / 0.6038 GB, free: 44.92 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.068e-05/0.4971, allocations: 13.66 kB / 0.6038 GB, free: 44.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.4971, allocations: 2.875 kB / 0.6038 GB, free: 44.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.4971, allocations: 3.984 kB / 0.6038 GB, free: 44.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4971, allocations: 1.031 kB / 0.6038 GB, free: 44.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002028/0.4992, allocations: 1.045 MB / 0.6049 GB, free: 44.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.4992, allocations: 0.6875 kB / 0.6049 GB, free: 44.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007976/0.5, allocations: 107.2 kB / 0.605 GB, free: 44.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.5, allocations: 0.5625 kB / 0.605 GB, free: 44.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.705e-05/0.5, allocations: 23.88 kB / 0.605 GB, free: 44.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.5001, allocations: 3.234 kB / 0.605 GB, free: 44.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5001, allocations: 5.594 kB / 0.605 GB, free: 44.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002227/0.5023, allocations: 0.7952 MB / 0.6058 GB, free: 44.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.5024, allocations: 119 kB / 0.6059 GB, free: 44.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.349e-05/0.5025, allocations: 5.219 kB / 0.6059 GB, free: 44.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006902/0.5032, allocations: 48.03 kB / 0.6059 GB, free: 44.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.708e-05/0.5033, allocations: 27.92 kB / 0.606 GB, free: 44.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.094e-05/0.5034, allocations: 31.12 kB / 0.606 GB, free: 44.15 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.708e-05/0.5034, allocations: 81.25 kB / 0.6061 GB, free: 44.08 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5034, allocations: 0 / 0.6061 GB, free: 44.08 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003803/0.5038, allocations: 52 kB / 0.6061 GB, free: 44.08 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.002447/0.5062, allocations: 1.343 MB / 0.6074 GB, free: 43.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001399/0.5077, allocations: 424.4 kB / 0.6078 GB, free: 43.42 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5077, allocations: 0 / 0.6078 GB, free: 43.42 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006869/0.5084, allocations: 225.7 kB / 0.608 GB, free: 43.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.5088, allocations: 20.55 kB / 0.6081 GB, free: 43.41 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008326/0.5171, allocations: 2.933 MB / 0.6109 GB, free: 42.14 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.5173, allocations: 0.6932 MB / 0.6116 GB, free: 41.44 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006667/0.518, allocations: 89.06 kB / 0.6117 GB, free: 41.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002704/0.5182, allocations: 71.22 kB / 0.6118 GB, free: 41.36 MB / 0.4981 GB Notification: Performance of SimCode: time 7.61e-07/0.5182, allocations: 0 / 0.6118 GB, free: 41.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02906/0.5473, allocations: 4.552 MB / 0.6162 GB, free: 40.96 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.654/8.202, allocations: 14.44 kB / 0.6162 GB, free: 40.95 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.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 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)