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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 118.7 kB / 17.13 MB, free: 5.758 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.001655/0.001655, allocations: 193.2 kB / 20.08 MB, free: 2.848 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.462/1.462, allocations: 225.6 MB / 248.5 MB, free: 3.641 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.9354/0.9354, allocations: 145.2 MB / 448.6 MB, free: 13.82 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: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 67.95 kB / 0.6211 GB, free: 34.98 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1512, allocations: 86.65 MB / 0.7058 GB, free: 2.703 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001964/0.1531, allocations: 0.6021 MB / 0.7064 GB, free: 2.102 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.002282/0.1554, allocations: 1.455 MB / 0.7078 GB, free: 0.6289 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.126e-05/0.1554, allocations: 0 / 0.7078 GB, free: 0.6289 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 1.622e-05/0.1555, allocations: 7.938 kB / 0.7078 GB, free: 0.6211 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 3.405e-05/0.1555, allocations: 0 / 0.7078 GB, free: 0.6211 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005956/0.1561, allocations: 139.5 kB / 0.7079 GB, free: 496 kB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 9.196e-05/0.1562, allocations: 31.95 kB / 0.7079 GB, free: 464 kB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 4.36e-05/0.1562, allocations: 4 kB / 0.7079 GB, free: 460 kB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 4.928e-05/0.1563, allocations: 15.92 kB / 0.708 GB, free: 444 kB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 8.913e-05/0.1564, allocations: 19.97 kB / 0.708 GB, free: 424 kB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.1564, allocations: 4 kB / 0.708 GB, free: 420 kB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005361/0.1569, allocations: 319.3 kB / 0.7083 GB, free: 100 kB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 2.6e-05/0.1569, allocations: 15.98 kB / 0.7083 GB, free: 84 kB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 2.999e-05/0.157, allocations: 7.922 kB / 0.7083 GB, free: 76 kB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.0003855/0.1574, allocations: 191.5 kB / 0.7085 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1574, allocations: 0 / 0.7085 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.813e-06/0.1574, allocations: 0 / 0.7085 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.929e-06/0.1574, allocations: 0 / 0.7085 GB, free: 15.89 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006471/0.158, allocations: 371.1 kB / 0.7089 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.1581, allocations: 12.56 kB / 0.7089 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004821/0.1585, allocations: 68.84 kB / 0.7089 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.1587, allocations: 168.3 kB / 0.7091 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.1587, allocations: 4.375 kB / 0.7091 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.475e-05/0.1588, allocations: 4.375 kB / 0.7091 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00029/0.1591, allocations: 77.94 kB / 0.7092 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.1591, allocations: 0 / 0.7092 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.1591, allocations: 0 / 0.7092 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1591, allocations: 0 / 0.7092 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003112/0.1594, allocations: 67.92 kB / 0.7092 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000233/0.1596, allocations: 165.7 kB / 0.7094 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006471/0.1603, allocations: 122.5 kB / 0.7095 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.1605, allocations: 44.91 kB / 0.7096 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004734/0.1609, allocations: 161 kB / 0.7097 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.161, allocations: 34.5 kB / 0.7097 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.161, allocations: 3.938 kB / 0.7097 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.001289/0.1623, allocations: 410.1 kB / 0.7101 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.1623, allocations: 51.41 kB / 0.7102 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.389e-05/0.1624, allocations: 101.8 kB / 0.7103 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.1624, allocations: 29.7 kB / 0.7103 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.976e-05/0.1625, allocations: 80.14 kB / 0.7104 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/0.1625, allocations: 15.86 kB / 0.7104 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.348e-05/0.1626, allocations: 17.72 kB / 0.7104 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.1627, allocations: 322.8 kB / 0.7107 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/0.1629, allocations: 32.09 kB / 0.7108 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.163, allocations: 35.91 kB / 0.7108 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003317/0.1634, allocations: 80.8 kB / 0.7109 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1634, allocations: 0 / 0.7109 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003883/0.1638, allocations: 113.6 kB / 0.711 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.1638, allocations: 4 kB / 0.711 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1638, allocations: 0 / 0.711 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.1638, allocations: 4 kB / 0.711 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.164, allocations: 31.97 kB / 0.711 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.164, allocations: 0 / 0.711 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.1641, allocations: 11.98 kB / 0.711 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.1641, allocations: 0 / 0.711 GB, free: 13.01 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 (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 0.0001031/0.1642, allocations: 113.8 kB / 0.7111 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.041e-05/0.1642, allocations: 7.891 kB / 0.7111 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004921/0.1647, allocations: 141.1 kB / 0.7113 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1647, allocations: 4 kB / 0.7113 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1647, allocations: 0 / 0.7113 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1647, allocations: 0 / 0.7113 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.1649, allocations: 162.3 kB / 0.7114 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1649, allocations: 4 kB / 0.7114 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.165, allocations: 31.91 kB / 0.7115 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.165, allocations: 3.938 kB / 0.7115 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.1651, allocations: 8 kB / 0.7115 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.1651, allocations: 0 / 0.7115 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1651, allocations: 0 / 0.7115 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006027/0.1657, allocations: 185 kB / 0.7117 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.746e-05/0.1657, allocations: 89.09 kB / 0.7117 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.1658, allocations: 8.031 kB / 0.7117 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.1659, allocations: 15.97 kB / 0.7118 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.77e-05/0.1659, allocations: 0 / 0.7118 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.1659, allocations: 4 kB / 0.7118 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.03e-05/0.166, allocations: 75.28 kB / 0.7118 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.166, allocations: 0 / 0.7118 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002584/0.1662, allocations: 43.95 kB / 0.7119 GB, free: 12.03 MB / 0.5294 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.0002333/0.1665, allocations: 131 kB / 0.712 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004188/0.1669, allocations: 79.92 kB / 0.7121 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-05/0.1669, allocations: 4 kB / 0.7121 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.1671, allocations: 35.97 kB / 0.7121 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001609/0.1672, allocations: 8 kB / 0.7121 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007088/0.1679, allocations: 218.9 kB / 0.7123 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.1683, allocations: 0.6846 MB / 0.713 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.773e-05/0.1683, allocations: 11.44 kB / 0.713 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of SimCode: time 4.11e-07/0.1683, allocations: 0 / 0.713 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.003029/0.1714, allocations: 1.149 MB / 0.7141 GB, free: 9.648 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 660] (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 & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.069024679018185] Failed to read output from testmodel.py, exit status != 0: 0.1790632251650095 0.19343912600000002 0.032929764 Calling exit ...