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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002525/0.002525, allocations: 219.8 kB / 23.03 MB, free: 4.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9149/0.9149, allocations: 145 MB / 458.2 MB, free: 15.29 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 66.94 kB / 0.6339 GB, free: 6.66 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1781, allocations: 87.88 MB / 0.7197 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001952/0.18, allocations: 0.7718 MB / 0.7205 GB, free: 14.03 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002173/0.1822, allocations: 1.447 MB / 0.7219 GB, free: 12.56 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.229e-05/0.1822, allocations: 0 / 0.7219 GB, free: 12.56 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.402e-05/0.1823, allocations: 7.922 kB / 0.7219 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.329e-05/0.1823, allocations: 3.938 kB / 0.7219 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005803/0.1829, allocations: 151.5 kB / 0.7221 GB, free: 12.4 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.183, allocations: 55.64 kB / 0.7221 GB, free: 12.35 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.062e-05/0.1831, allocations: 4 kB / 0.7221 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.149e-05/0.1831, allocations: 27.92 kB / 0.7221 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.613e-05/0.1832, allocations: 31.89 kB / 0.7222 GB, free: 12.29 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.1832, allocations: 4 kB / 0.7222 GB, free: 12.28 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003916/0.1836, allocations: 263.5 kB / 0.7224 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.815e-05/0.1836, allocations: 23.92 kB / 0.7224 GB, free: 12 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.1837, allocations: 15.92 kB / 0.7225 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003327/0.184, allocations: 207.4 kB / 0.7227 GB, free: 11.78 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.184, allocations: 0 / 0.7227 GB, free: 11.78 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.673e-06/0.184, allocations: 3.938 kB / 0.7227 GB, free: 11.78 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.184, allocations: 0 / 0.7227 GB, free: 11.78 MB / 0.545 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.0006606/0.1847, allocations: 325.8 kB / 0.723 GB, free: 11.43 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.1847, allocations: 12.03 kB / 0.723 GB, free: 11.42 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.58e-05/0.1847, allocations: 4.188 kB / 0.723 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.836e-05/0.1848, allocations: 42.75 kB / 0.723 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004631/0.1852, allocations: 72.8 kB / 0.7231 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.1854, allocations: 114.4 kB / 0.7232 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.1854, allocations: 4.375 kB / 0.7232 GB, free: 11.15 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.114e-05/0.1854, allocations: 12.38 kB / 0.7232 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000411/0.1858, allocations: 163.9 kB / 0.7234 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.1858, allocations: 0 / 0.7234 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.1858, allocations: 4 kB / 0.7234 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.1859, allocations: 0 / 0.7234 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004767/0.1863, allocations: 111.8 kB / 0.7235 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005796/0.1869, allocations: 291.8 kB / 0.7238 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007024/0.1876, allocations: 150.4 kB / 0.7239 GB, free: 10.37 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002294/0.1878, allocations: 56.97 kB / 0.724 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.1879, allocations: 0 / 0.724 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.1879, allocations: 38.55 kB / 0.724 GB, free: 10.26 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.1879, allocations: 0 / 0.724 GB, free: 10.26 MB / 0.545 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.0194/0.2073, allocations: 2.687 MB / 0.7266 GB, free: 7.516 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.2073, allocations: 59.34 kB / 0.7267 GB, free: 7.445 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.498e-05/0.2074, allocations: 101.8 kB / 0.7268 GB, free: 7.336 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001664/0.2076, allocations: 29.7 kB / 0.7268 GB, free: 7.301 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.061e-05/0.2077, allocations: 96.03 kB / 0.7269 GB, free: 7.203 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.699e-05/0.2077, allocations: 35.69 kB / 0.7269 GB, free: 7.168 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001849/0.2079, allocations: 69.58 kB / 0.727 GB, free: 7.094 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002332/0.2082, allocations: 318.8 kB / 0.7273 GB, free: 6.773 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000665/0.2088, allocations: 187.8 kB / 0.7275 GB, free: 6.59 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006624/0.2095, allocations: 191.8 kB / 0.7277 GB, free: 6.402 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/0.2108, allocations: 396.7 kB / 0.728 GB, free: 6.012 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.2108, allocations: 0 / 0.728 GB, free: 6.012 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00158/0.2124, allocations: 480 kB / 0.7285 GB, free: 5.539 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.2124, allocations: 12 kB / 0.7285 GB, free: 5.527 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.2124, allocations: 0 / 0.7285 GB, free: 5.527 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.2124, allocations: 3.938 kB / 0.7285 GB, free: 5.523 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008884/0.2133, allocations: 99.89 kB / 0.7286 GB, free: 5.426 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.2133, allocations: 7.938 kB / 0.7286 GB, free: 5.418 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006468/0.214, allocations: 51.92 kB / 0.7287 GB, free: 5.367 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.417e-05/0.214, allocations: 23.94 kB / 0.7287 GB, free: 5.344 MB / 0.545 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.0001662/0.2142, allocations: 113.8 kB / 0.7288 GB, free: 5.223 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.095e-05/0.2143, allocations: 11.95 kB / 0.7288 GB, free: 5.211 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.079e-05/0.2143, allocations: 16.06 kB / 0.7288 GB, free: 5.188 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.2144, allocations: 3.938 kB / 0.7288 GB, free: 5.184 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2144, allocations: 0 / 0.7288 GB, free: 5.184 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.2144, allocations: 3.984 kB / 0.7288 GB, free: 5.18 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002314/0.2167, allocations: 0.9759 MB / 0.7298 GB, free: 4.102 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.2167, allocations: 3.938 kB / 0.7298 GB, free: 4.098 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.2177, allocations: 107.7 kB / 0.7299 GB, free: 3.992 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.2177, allocations: 4 kB / 0.7299 GB, free: 3.988 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.463e-05/0.2178, allocations: 27.92 kB / 0.7299 GB, free: 3.961 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.2178, allocations: 4 kB / 0.7299 GB, free: 3.957 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.2178, allocations: 5.016 kB / 0.7299 GB, free: 3.953 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00249/0.2203, allocations: 0.784 MB / 0.7307 GB, free: 3.152 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.2204, allocations: 43.78 kB / 0.7307 GB, free: 3.109 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.869e-05/0.2205, allocations: 8 kB / 0.7307 GB, free: 3.102 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007098/0.2212, allocations: 44 kB / 0.7308 GB, free: 3.059 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.2213, allocations: 27.92 kB / 0.7308 GB, free: 3.031 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.388e-05/0.2214, allocations: 27.94 kB / 0.7308 GB, free: 3.004 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.932e-05/0.2214, allocations: 87.38 kB / 0.7309 GB, free: 2.918 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2214, allocations: 0 / 0.7309 GB, free: 2.918 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003959/0.2218, allocations: 59.94 kB / 0.731 GB, free: 2.859 MB / 0.545 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.002872/0.2247, allocations: 1.333 MB / 0.7323 GB, free: 1.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001484/0.2262, allocations: 423.5 kB / 0.7327 GB, free: 1.086 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2262, allocations: 0 / 0.7327 GB, free: 1.086 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007264/0.2269, allocations: 219.7 kB / 0.7329 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.2273, allocations: 11.98 kB / 0.7329 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008937/0.2362, allocations: 2.952 MB / 0.7358 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.96e-05/0.2363, allocations: 80.02 kB / 0.7359 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005554/0.2369, allocations: 92.59 kB / 0.736 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000318/0.2372, allocations: 63.3 kB / 0.736 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of SimCode: time 1.092e-06/0.2372, allocations: 4 kB / 0.736 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03726/0.2744, allocations: 4.98 MB / 0.7409 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.73, allocations: 10.19 kB / 0.7409 GB, free: 8.754 MB / 0.5606 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --stepSize=0.0012 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.900014173937961] Failed to read output from testmodel.py, exit status != 0: 11.896436708979309 12.250448176 12.063348277 Calling exit ...