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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 102.1 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/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 0.9755/0.9755, allocations: 145.2 MB / 447.9 MB, free: 13.8 MB / 350.1 MB " [Timeout remaining time 179] 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 69.09 kB / 0.62 GB, free: 35.25 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.172, allocations: 86.65 MB / 0.7046 GB, free: 3.305 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.00215/0.1742, allocations: 0.7847 MB / 0.7054 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002076/0.1762, allocations: 1.478 MB / 0.7068 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.949e-05/0.1763, allocations: 0 / 0.7068 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.595e-05/0.1763, allocations: 3.938 kB / 0.7068 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.035e-05/0.1764, allocations: 3.938 kB / 0.7068 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005592/0.1769, allocations: 155.4 kB / 0.707 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000108/0.177, allocations: 47.91 kB / 0.707 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.795e-05/0.1771, allocations: 11.97 kB / 0.707 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.273e-05/0.1772, allocations: 23.92 kB / 0.7071 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.682e-05/0.1772, allocations: 35.84 kB / 0.7071 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.1773, allocations: 4 kB / 0.7071 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004746/0.1777, allocations: 323.3 kB / 0.7074 GB, free: 436 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.939e-05/0.1777, allocations: 7.984 kB / 0.7074 GB, free: 428 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.234e-05/0.1778, allocations: 35.84 kB / 0.7075 GB, free: 392 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003332/0.1781, allocations: 207.7 kB / 0.7077 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1781, allocations: 0 / 0.7077 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.913e-06/0.1781, allocations: 0 / 0.7077 GB, free: 184 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.1781, allocations: 0 / 0.7077 GB, free: 184 kB / 0.5137 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.000697/0.1788, allocations: 406.9 kB / 0.708 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.1789, allocations: 8.031 kB / 0.708 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.016e-05/0.1789, allocations: 38.75 kB / 0.7081 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004509/0.1794, allocations: 72.8 kB / 0.7082 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.1795, allocations: 176.3 kB / 0.7083 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/0.1795, allocations: 384 / 0.7083 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.1796, allocations: 12.33 kB / 0.7083 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003654/0.1799, allocations: 121.7 kB / 0.7085 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.1799, allocations: 0 / 0.7085 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.18, allocations: 8 kB / 0.7085 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.18, allocations: 0 / 0.7085 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004441/0.1804, allocations: 99.91 kB / 0.7086 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005976/0.181, allocations: 336.6 kB / 0.7089 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006147/0.1816, allocations: 150.4 kB / 0.709 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/0.1818, allocations: 56.81 kB / 0.7091 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.1819, allocations: 7.938 kB / 0.7091 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.1819, allocations: 30.56 kB / 0.7091 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.1819, allocations: 0 / 0.7091 GB, free: 14.52 MB / 0.5294 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.01843/0.2003, allocations: 2.835 MB / 0.7119 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/0.2004, allocations: 59.34 kB / 0.7119 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.2005, allocations: 105.8 kB / 0.712 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.143e-05/0.2005, allocations: 25.7 kB / 0.7121 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.949e-05/0.2006, allocations: 96.06 kB / 0.7122 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.106e-05/0.2007, allocations: 39.64 kB / 0.7122 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/0.2009, allocations: 73.58 kB / 0.7123 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.201, allocations: 314.8 kB / 0.7126 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006341/0.2017, allocations: 195.8 kB / 0.7127 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006362/0.2023, allocations: 187.8 kB / 0.7129 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001284/0.2036, allocations: 399.8 kB / 0.7133 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2036, allocations: 0 / 0.7133 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001471/0.205, allocations: 477.3 kB / 0.7138 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.2051, allocations: 9.719 kB / 0.7138 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.2051, allocations: 8 kB / 0.7138 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.2051, allocations: 0 / 0.7138 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007991/0.2059, allocations: 107.7 kB / 0.7139 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.2059, allocations: 3.938 kB / 0.7139 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005692/0.2065, allocations: 47.94 kB / 0.7139 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.676e-05/0.2065, allocations: 27.92 kB / 0.714 GB, free: 9.402 MB / 0.5294 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.0001777/0.2067, allocations: 117.8 kB / 0.7141 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-05/0.2068, allocations: 4 kB / 0.7141 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.35e-05/0.2068, allocations: 7.969 kB / 0.7141 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.2069, allocations: 7.938 kB / 0.7141 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.2069, allocations: 0 / 0.7141 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.2069, allocations: 3.984 kB / 0.7141 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002269/0.2091, allocations: 1.054 MB / 0.7151 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2091, allocations: 3.938 kB / 0.7151 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007952/0.2099, allocations: 107.7 kB / 0.7152 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.2099, allocations: 0 / 0.7152 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.805e-05/0.21, allocations: 31.92 kB / 0.7153 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.21, allocations: 0 / 0.7153 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.21, allocations: 0 / 0.7153 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002276/0.2123, allocations: 0.7956 MB / 0.716 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001856/0.2125, allocations: 121 kB / 0.7162 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.476e-05/0.2125, allocations: 0 / 0.7162 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006611/0.2132, allocations: 44 kB / 0.7162 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.595e-05/0.2133, allocations: 31.92 kB / 0.7162 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.402e-05/0.2133, allocations: 23.94 kB / 0.7162 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.721e-05/0.2134, allocations: 79.28 kB / 0.7163 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2134, allocations: 0 / 0.7163 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003709/0.2137, allocations: 59.92 kB / 0.7164 GB, free: 6.77 MB / 0.5294 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.002675/0.2164, allocations: 1.344 MB / 0.7177 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001377/0.2178, allocations: 415.6 kB / 0.7181 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2178, allocations: 0 / 0.7181 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006804/0.2185, allocations: 224.1 kB / 0.7183 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.2189, allocations: 4.219 kB / 0.7183 GB, free: 4.77 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008393/0.2273, allocations: 2.951 MB / 0.7212 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.2276, allocations: 0.697 MB / 0.7219 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005324/0.2281, allocations: 92.66 kB / 0.722 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002471/0.2284, allocations: 59.31 kB / 0.722 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of SimCode: time 8.71e-07/0.2284, allocations: 0 / 0.722 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02849/0.2569, allocations: 4.616 MB / 0.7265 GB, free: 12.39 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.996/8.253, allocations: 13.14 kB / 0.7265 GB, free: 12.38 MB / 0.545 GB " [Timeout remaining time 652] (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 os._exit(0), Time elapsed: 11.979610451962799] Failed to read output from testmodel.py, exit status != 0: 8.32172984490171 8.335654383 8.154779906 Calling exit ...