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.001528/0.001528, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001675/0.001675, allocations: 191.8 kB / 22.23 MB, free: 5.102 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.363/1.363, allocations: 225.6 MB / 251 MB, free: 13.02 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.8798/0.8798, allocations: 145 MB / 451.3 MB, free: 5.508 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.7.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: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 68.91 kB / 0.6254 GB, free: 15.43 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1673, allocations: 86.71 MB / 0.71 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002253/0.1696, allocations: 0.7879 MB / 0.7108 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002107/0.1717, allocations: 1.489 MB / 0.7123 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.369e-05/0.1717, allocations: 0 / 0.7123 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.987e-05/0.1718, allocations: 3.938 kB / 0.7123 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.087e-05/0.1718, allocations: 3.938 kB / 0.7123 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005606/0.1724, allocations: 147.4 kB / 0.7124 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.434e-05/0.1724, allocations: 43.97 kB / 0.7125 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.123e-05/0.1725, allocations: 7.938 kB / 0.7125 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.726e-05/0.1726, allocations: 31.84 kB / 0.7125 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.049e-05/0.1726, allocations: 39.83 kB / 0.7125 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.1727, allocations: 4 kB / 0.7125 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000494/0.1731, allocations: 323.4 kB / 0.7129 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.257e-05/0.1732, allocations: 7.984 kB / 0.7129 GB, free: 5.824 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.079e-05/0.1732, allocations: 31.84 kB / 0.7129 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003756/0.1736, allocations: 215.4 kB / 0.7131 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1736, allocations: 0 / 0.7131 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1736, allocations: 0 / 0.7131 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.1736, allocations: 0 / 0.7131 GB, free: 5.582 MB / 0.5294 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.0006861/0.1743, allocations: 321.8 kB / 0.7134 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.1743, allocations: 8.031 kB / 0.7134 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000471/0.1748, allocations: 72.8 kB / 0.7135 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.1749, allocations: 122.4 kB / 0.7136 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.043e-05/0.1749, allocations: 8.375 kB / 0.7136 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/0.175, allocations: 12.33 kB / 0.7136 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003953/0.1754, allocations: 117.2 kB / 0.7137 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1754, allocations: 0 / 0.7137 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.1754, allocations: 4 kB / 0.7137 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1754, allocations: 0 / 0.7137 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004999/0.1759, allocations: 103.9 kB / 0.7138 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006069/0.1765, allocations: 311.7 kB / 0.7141 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006786/0.1772, allocations: 150.5 kB / 0.7143 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002554/0.1774, allocations: 60.8 kB / 0.7143 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.1775, allocations: 0 / 0.7143 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.1775, allocations: 34.56 kB / 0.7144 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 9.21e-07/0.1775, allocations: 3.938 kB / 0.7144 GB, free: 4.16 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.01877/0.1963, allocations: 2.683 MB / 0.717 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.1963, allocations: 59.34 kB / 0.717 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.036e-05/0.1964, allocations: 93.86 kB / 0.7171 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.522e-05/0.1965, allocations: 29.7 kB / 0.7172 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.811e-05/0.1965, allocations: 92.11 kB / 0.7172 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.827e-05/0.1966, allocations: 43.64 kB / 0.7173 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/0.1968, allocations: 69.58 kB / 0.7174 GB, free: 1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.1969, allocations: 318.8 kB / 0.7177 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006818/0.1976, allocations: 191.8 kB / 0.7178 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006834/0.1983, allocations: 191.9 kB / 0.718 GB, free: 312 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/0.1997, allocations: 396.5 kB / 0.7184 GB, free: 15.91 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1997, allocations: 0 / 0.7184 GB, free: 15.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001572/0.2012, allocations: 483.5 kB / 0.7189 GB, free: 15.44 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.2013, allocations: 4 kB / 0.7189 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.2013, allocations: 0 / 0.7189 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.2013, allocations: 8 kB / 0.7189 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008266/0.2021, allocations: 103.8 kB / 0.719 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.2021, allocations: 3.938 kB / 0.719 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005963/0.2027, allocations: 47.94 kB / 0.719 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.777e-05/0.2028, allocations: 23.92 kB / 0.719 GB, free: 15.25 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.0001646/0.2029, allocations: 121.8 kB / 0.7192 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.152e-05/0.203, allocations: 4 kB / 0.7192 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.193e-05/0.2031, allocations: 16.06 kB / 0.7192 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.2031, allocations: 4 kB / 0.7192 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.2031, allocations: 3.938 kB / 0.7192 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2031, allocations: 0 / 0.7192 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002304/0.2054, allocations: 1.022 MB / 0.7202 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2054, allocations: 4 kB / 0.7202 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008774/0.2063, allocations: 107.7 kB / 0.7203 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/0.2063, allocations: 7.922 kB / 0.7203 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-05/0.2063, allocations: 23.94 kB / 0.7203 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2063, allocations: 0 / 0.7203 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2063, allocations: 4 kB / 0.7203 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002394/0.2087, allocations: 0.7878 MB / 0.7211 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.2089, allocations: 43.94 kB / 0.7211 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.518e-05/0.2089, allocations: 4 kB / 0.7211 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006731/0.2096, allocations: 47.92 kB / 0.7212 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.867e-05/0.2097, allocations: 31.86 kB / 0.7212 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.054e-05/0.2098, allocations: 31.94 kB / 0.7213 GB, free: 12.86 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.621e-05/0.2098, allocations: 79.28 kB / 0.7213 GB, free: 12.78 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2098, allocations: 0 / 0.7213 GB, free: 12.78 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003669/0.2102, allocations: 55.92 kB / 0.7214 GB, free: 12.72 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.0002048/0.2104, allocations: 107.2 kB / 0.7215 GB, free: 12.61 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001502/0.2119, allocations: 419.5 kB / 0.7219 GB, free: 12.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.2119, allocations: 0 / 0.7219 GB, free: 12.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000756/0.2127, allocations: 224 kB / 0.7221 GB, free: 11.98 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/0.213, allocations: 8.219 kB / 0.7221 GB, free: 11.97 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004325/0.2173, allocations: 0.7672 MB / 0.7229 GB, free: 11.18 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.2177, allocations: 0.6924 MB / 0.7235 GB, free: 10.46 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005003/0.2182, allocations: 92.55 kB / 0.7236 GB, free: 10.37 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002454/0.2184, allocations: 55.3 kB / 0.7237 GB, free: 10.31 MB / 0.545 GB Notification: Performance of SimCode: time 7.01e-07/0.2184, allocations: 4 kB / 0.7237 GB, free: 10.31 MB / 0.545 GB Notification: Performance of Templates: time 0.007651/0.2261, allocations: 3.589 MB / 0.7272 GB, free: 6.723 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 660] (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 & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.556991679593921] Failed to read output from testmodel.py, exit status != 0: 0.23375955782830715 0.24822179499999994 0.071580531 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f8743b257b0>