Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",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.0084/0.0084, allocations: 99.06 kB / 15.73 MB, free: 6.059 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.002146/0.002146, allocations: 189.1 kB / 16.67 MB, free: 5.969 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.557/1.557, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.032/1.032, allocations: 143.3 MB / 433.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 71.88 kB / 0.5954 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3933, allocations: 82.02 MB / 0.6755 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001457/0.3948, allocations: 0.6005 MB / 0.676 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001723/0.3965, allocations: 1.451 MB / 0.6775 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.997e-05/0.3966, allocations: 1.25 kB / 0.6775 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.232e-05/0.3966, allocations: 4 kB / 0.6775 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.486e-05/0.3966, allocations: 0 / 0.6775 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004713/0.3971, allocations: 136.9 kB / 0.6776 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.592e-05/0.3972, allocations: 28.31 kB / 0.6776 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.34e-05/0.3972, allocations: 6.156 kB / 0.6776 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.434e-05/0.3973, allocations: 25.25 kB / 0.6777 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.969e-05/0.3974, allocations: 21.22 kB / 0.6777 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.3974, allocations: 2.5 kB / 0.6777 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000459/0.3979, allocations: 319.5 kB / 0.678 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.11e-05/0.3979, allocations: 10.64 kB / 0.678 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.912e-05/0.3979, allocations: 14.64 kB / 0.678 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002994/0.3982, allocations: 191.5 kB / 0.6782 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3982, allocations: 1.188 kB / 0.6782 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3982, allocations: 0 / 0.6782 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.3982, allocations: 0 / 0.6782 GB, free: 14.93 MB / 0.5137 GB 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.0005735/0.3988, allocations: 376.3 kB / 0.6786 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.3989, allocations: 9.812 kB / 0.6786 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.912e-05/0.3989, allocations: 31.88 kB / 0.6786 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004432/0.3994, allocations: 66.62 kB / 0.6787 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.3995, allocations: 161.5 kB / 0.6788 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.3996, allocations: 1.469 kB / 0.6788 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.3996, allocations: 6.688 kB / 0.6788 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.3998, allocations: 81.77 kB / 0.6789 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3999, allocations: 7.922 kB / 0.6789 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.3999, allocations: 1.438 kB / 0.6789 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3999, allocations: 0 / 0.6789 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002916/0.4002, allocations: 61.97 kB / 0.679 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001976/0.4004, allocations: 162.2 kB / 0.6791 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005626/0.401, allocations: 127.4 kB / 0.6792 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.4011, allocations: 39.45 kB / 0.6793 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004499/0.4016, allocations: 151.2 kB / 0.6794 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.4016, allocations: 42.44 kB / 0.6795 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.4016, allocations: 5.094 kB / 0.6795 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5): time 0.001179/0.4028, allocations: 406.1 kB / 0.6799 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.4029, allocations: 52.56 kB / 0.6799 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.08e-05/0.403, allocations: 96.3 kB / 0.68 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.403, allocations: 25.7 kB / 0.68 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.415e-05/0.403, allocations: 81.14 kB / 0.6801 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.294e-05/0.4031, allocations: 22.08 kB / 0.6801 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.212e-05/0.4031, allocations: 27.36 kB / 0.6801 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.4033, allocations: 312.1 kB / 0.6804 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.4034, allocations: 32.91 kB / 0.6805 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.4036, allocations: 42.2 kB / 0.6805 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/0.4039, allocations: 76.3 kB / 0.6806 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.4039, allocations: 0 / 0.6806 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003681/0.4043, allocations: 116.8 kB / 0.6807 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.4043, allocations: 4.406 kB / 0.6807 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.4043, allocations: 5.453 kB / 0.6807 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.4043, allocations: 0 / 0.6807 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.4045, allocations: 19.89 kB / 0.6807 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.4045, allocations: 1.094 kB / 0.6807 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.83e-05/0.4046, allocations: 16.38 kB / 0.6807 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.4046, allocations: 2 kB / 0.6807 GB, free: 12.59 MB / 0.5137 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 (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 8.305e-05/0.4047, allocations: 119.1 kB / 0.6809 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.878e-05/0.4047, allocations: 9.453 kB / 0.6809 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000456/0.4052, allocations: 141.7 kB / 0.681 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.4052, allocations: 1 kB / 0.681 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.4052, allocations: 5.172 kB / 0.681 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.4052, allocations: 0 / 0.681 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.4054, allocations: 166.9 kB / 0.6812 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.4054, allocations: 7.922 kB / 0.6812 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001463/0.4056, allocations: 21.23 kB / 0.6812 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4056, allocations: 0 / 0.6812 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.4056, allocations: 1.094 kB / 0.6812 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.4056, allocations: 5.188 kB / 0.6812 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.4056, allocations: 0 / 0.6812 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005624/0.4062, allocations: 191.5 kB / 0.6814 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.138e-05/0.4063, allocations: 88.25 kB / 0.6815 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.4063, allocations: 1.062 kB / 0.6815 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.4064, allocations: 15.39 kB / 0.6815 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.705e-05/0.4064, allocations: 11.8 kB / 0.6815 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.4065, allocations: 1.312 kB / 0.6815 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.112e-05/0.4065, allocations: 77.88 kB / 0.6816 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4065, allocations: 0 / 0.6816 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002232/0.4067, allocations: 28.69 kB / 0.6816 GB, free: 11.82 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (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 Backend phase and start with SimCode phase: time 0.001106/0.4078, allocations: 0.757 MB / 0.6823 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003713/0.4082, allocations: 87.8 kB / 0.6824 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4082, allocations: 0 / 0.6824 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.4084, allocations: 39.88 kB / 0.6825 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.4086, allocations: 8.906 kB / 0.6825 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/0.4107, allocations: 1.352 MB / 0.6838 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.411, allocations: 0.6796 MB / 0.6845 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.141e-05/0.4111, allocations: 26.75 kB / 0.6845 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.919e-05/0.4112, allocations: 19.55 kB / 0.6845 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.4112, allocations: 0 / 0.6845 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2054/0.6166, allocations: 2.081 MB / 0.6865 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.952/8.569, allocations: 7.797 kB / 0.6865 GB, free: 8.016 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)